aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-09-25 16:05:40 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-10-05 16:54:05 +0200
commit88f65bfc2a704d5bb3f0c95368bdda69bcde447a (patch)
tree226b5d221d3ce855394a5bd24e9f6bc4ba72ed1c /Makefile
parentbc5663168d8fd42704d6a55af5a8c9992c75f6af (diff)
downloadvis-88f65bfc2a704d5bb3f0c95368bdda69bcde447a.tar.gz
vis-88f65bfc2a704d5bb3f0c95368bdda69bcde447a.tar.xz
Add a profile Makefile target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e2fcf38..866c67c 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,9 @@ vis: config.h config.mk *.c *.h
debug: clean
@$(MAKE) CFLAGS='${DEBUG_CFLAGS}'
+profile: clean
+ @$(MAKE) CFLAGS='${DEBUG_CFLAGS} -pg'
+
clean:
@echo cleaning
@rm -f vis vis-${VERSION}.tar.gz