projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98d655c
)
Makefile: Added back config.h handling in Makefile
author
Aaron Marcher
<info@nulltime.net>
Mon, 9 Jan 2017 08:21:18 +0000
(09:21 +0100)
committer
Aaron Marcher
<info@nulltime.net>
Mon, 9 Jan 2017 08:21:18 +0000
(09:21 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 38712c59ba3eb3cbefdf16ca1c8b85bf4a0201f1..79b8de08249643e4c55a5e85e407855e6275fc52 100644
(file)
--- 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}