commit bb8773651843b9ca72a4f0d51df6d657772f0840
parent 98d655c8d08eeb01a467b0eac43dfd47553fa5bb
Author: Aaron Marcher <info@nulltime.net>
Date: Mon, 9 Jan 2017 09:21:18 +0100
Makefile: Added back config.h handling in Makefile
Diffstat:
| M | Makefile | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --dropbox a/Makefile b/Makefile
@@ -6,9 +6,12 @@ NAME=slstatus
all: ${NAME}
-${NAME}:
+${NAME}: config.h
${CC} ${CFLAGS} -o $@ ${NAME}.c ${LDFLAGS}
+config.h:
+ cp config.def.h $@
+
clean:
rm -f ${NAME}