[hackers] [slstatus] Fix missing config.h in Makefile

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Sun, 17 Sep 2017 22:31:26 +0200

---
 Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index d690612..d657981 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -5,7 +5,7 @@
 include config.mk
 
 REQ = util
-HDR = arg.h
+HDR = arg.h config.h
 COM =\
 	battery\
 	cpu\
_AT_@ -52,6 +52,9 @@ user.o: user.c config.mk $(HDR) $(REQ:=.h)
 volume.o: volume.c config.mk $(HDR) $(REQ:=.h)
 wifi.o: wifi.c config.mk $(HDR) $(REQ:=.h)
 
+config.h:
+	cp config.def.h $_AT_
+
 .o:
 	$(CC) -o $_AT_ $(LDFLAGS) $< $(COM:=.o) $(REQ:=.o) $(LDLIBS)
 
-- 
2.14.1
Received on Sun Sep 17 2017 - 22:31:26 CEST

This archive was generated by hypermail 2.3.0 : Sun Sep 17 2017 - 22:36:23 CEST