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:
11d4bec
)
Fix missing config.h in Makefile
author
Quentin Rameau
<quinq@fifth.space>
Sun, 17 Sep 2017 20:31:26 +0000
(22:31 +0200)
committer
Aaron Marcher
<me@drkhsh.at>
Mon, 18 Sep 2017 06:32:30 +0000
(08:32 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index d690612cbdb72be51741a6b440110854c01b028f..d657981c9caa9ef71ab982191a5a358aabb971fa 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,7
+5,7
@@
include config.mk
REQ = util
-HDR = arg.h
+HDR = arg.h
config.h
COM =\
battery\
cpu\
@@
-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 $@
+
.o:
$(CC) -o $@ $(LDFLAGS) $< $(COM:=.o) $(REQ:=.o) $(LDLIBS)