[hackers] [st][PATCH] Make config.h depend on config.def.h

From: Bob Uhl <buhl_AT_zvelo.com>
Date: Fri, 02 Dec 2016 11:45:22 -0700

Currently, if one edits config.def.h one must manually delete
config.h (or manually copy the former over the latter); this ensures
that changes force a 'regeneration' (really, a copy).
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 6158ab2..152c412 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -14,7 +14,7 @@ options:
        _AT_echo "LDFLAGS  = ${LDFLAGS}"
        _AT_echo "CC       = ${CC}"
-config.h:
+config.h: config.def.h
        cp config.def.h config.h
 .c.o:
--
2.1.4
Received on Fri Dec 02 2016 - 19:45:22 CET

This archive was generated by hypermail 2.3.0 : Fri Dec 02 2016 - 19:48:15 CET