Fixing the makefile behaviour. - thingmenu - A simple graphical menu launcher for X11.
HTML git clone git://bitreich.org/thingmenu
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR LICENSE
---
DIR commit 9177598765d4919250e3aef98b0d94eb7f59e3cd
DIR parent 63235367e0b8196b0b221ff74e4ebf82daafe096
HTML Author: Christoph Lohmann <20h@r-36.net>
Date: Wed, 7 Sep 2011 22:22:30 +0200
Fixing the makefile behaviour.
Diffstat:
M Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
DIR 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