slstatus

My fork of https://tools.suckless.org/slstatus/
git clone https://git.inz.fi/slstatus
Log | Files | Refs | README | LICENSE

commit e04a3853643df1c98a451969d515d8850f138bcc
parent 11d4bec6481886abb889cbeded5c8f52e5dfd844
Author: Quentin Rameau <quinq@fifth.space>
Date:   Sun, 17 Sep 2017 22:31:26 +0200

Fix missing config.h in Makefile

Diffstat:
MMakefile | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 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)