commit 9177598765d4919250e3aef98b0d94eb7f59e3cd
parent 63235367e0b8196b0b221ff74e4ebf82daafe096
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed,  7 Sep 2011 22:22:30 +0200
Fixing the makefile behaviour.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -23,9 +23,9 @@ config.h:
 	@echo CC $<
 	@${CC} -c ${CFLAGS} $<
 
-${OBJ}: config.mk
+${OBJ}: config.h config.mk
 
-${NAME}: config.h ${OBJ}
+${NAME}: ${OBJ}
 	@echo CC -o $@
 	@${CC} -o $@ ${OBJ} ${LDFLAGS}
 
@@ -63,4 +63,4 @@ uninstall:
 	@echo removing manual page from ${DESTDIR}${PREFIX}/man1
 	@rm -f ${DESTDIR}${MANPREFIX}/man1/${NAME}.1
 
-.PHONY: all options clean dist install uninstall
+.PHONY: all options clean dist install uninstall config.h