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