summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Marcher <info@nulltime.net>2017-01-09 09:21:18 +0100
committerAaron Marcher <info@nulltime.net>2017-01-09 09:21:18 +0100
commitbb8773651843b9ca72a4f0d51df6d657772f0840 (patch)
treefd20498106b15982f0044fbc1fec7f078a844823
parent98d655c8d08eeb01a467b0eac43dfd47553fa5bb (diff)
Makefile: Added back config.h handling in Makefile
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 38712c5..79b8de0 100644
--- 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}