Trigger build on config.h changes - thinglaunch - A simple command and password… | |
git clone git://bitreich.org/thinglaunch | |
Log | |
Files | |
Refs | |
Tags | |
LICENSE | |
--- | |
commit 88e9e929a0157489d4a6ef7b0096414b31e7c9d8 | |
parent eea0fc885118a2aecca3d77365db475bba73bfec | |
Author: Christoph Polcin <[email protected]> | |
Date: Mon, 12 Mar 2018 11:49:44 +0100 | |
Trigger build on config.h changes | |
Signed-off-by: Christoph Polcin <[email protected]> | |
Signed-off-by: Christoph Lohmann <[email protected]> | |
Diffstat: | |
M Makefile | 4 ++-- | |
1 file changed, 2 insertions(+), 2 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} | |
@ln -s ${NAME} thingaskpass 2>/dev/null; true |