X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/864f2246b5dfeb023137d8f5ebb599e4eb6aedda..d5fb46e61d037af21e99b5596f7a453fce155f67:/Makefile?ds=sidebyside

diff --git a/Makefile b/Makefile
index e1bb370..4848eef 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,8 @@
 
 include config.mk
 
+NAME=slstatus
+
 SRC = ${NAME}.c
 OBJ = ${SRC:.c=.o}
 
@@ -19,7 +21,7 @@ options:
 
 ${OBJ}: config.h config.mk
 
-config.h:
+config.h: config.def.h
 	@echo creating $@ from config.def.h
 	@cp config.def.h $@