[hackers] [slstatus] Fix missing config.h in Makefile || Quentin Rameau

From: <git_AT_suckless.org>
Date: Mon, 18 Sep 2017 08:33:23 +0200 (CEST)

commit e04a3853643df1c98a451969d515d8850f138bcc
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sun Sep 17 22:31:26 2017 +0200
Commit: Aaron Marcher <me_AT_drkhsh.at>
CommitDate: Mon Sep 18 08:32:30 2017 +0200

    Fix missing config.h in Makefile

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)
 
Received on Mon Sep 18 2017 - 08:33:23 CEST

This archive was generated by hypermail 2.3.0 : Mon Sep 18 2017 - 08:36:23 CEST