Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
small Makefile tweak
[slstatus.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
afdbcdf
..
0a41a93
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-6,6
+6,12
@@
NAME=slstatus
all: ${NAME}
+${NAME}: config.h config.mk
+ ${CC} ${CFLAGS} -o $@ ${NAME}.c ${LDFLAGS}
+
+config.h:
+ cp config.def.h $@
+
clean:
rm -f ${NAME}