aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2015-01-15 13:16:47 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-01-15 14:54:53 +0100
commit558d9e2f0881507b95768daf613561a403bd8ce4 (patch)
treee43d511b7812b7dfc0314c009b6772609c1497f7
parentdfc510a1841a603ad61572a1fc87f00d98212cdd (diff)
downloadvis-558d9e2f0881507b95768daf613561a403bd8ce4.tar.gz
vis-558d9e2f0881507b95768daf613561a403bd8ce4.tar.xz
add C source and header file to depends
This fixes make to rebuild when files change. Signed-off-by: Christian Hesse <mail@eworm.de>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a860bb4..0477510 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ all: vis
config.h:
cp config.def.h config.h
-vis: config.h config.mk
+vis: config.h config.mk *.c *.h
@echo ${CC} ${CFLAGS} *.c ${LDFLAGS} -o $@
@${CC} ${CFLAGS} *.c ${LDFLAGS} -o $@