Tweak build system a little bit

Be consistent with brackets and add a comment for OpenBSD to make it
clearer what the actual intent of the uncommented line is.

In the Makefile, add a dependency of slstatus.o from config.mk.
This commit is contained in:
Laslo Hunhold
2018-05-01 20:50:53 +02:00
committed by Aaron Marcher
parent 41deabf2ec
commit 24b663d657
2 changed files with 4 additions and 6 deletions

View File

@ -29,7 +29,7 @@ COM =\
all: slstatus
slstatus: slstatus.o $(COM:=.o) $(REQ:=.o)
slstatus.o: slstatus.c slstatus.h arg.h config.h $(REQ:=.h)
slstatus.o: slstatus.c slstatus.h arg.h config.h config.mk $(REQ:=.h)
$(COM:=.o): config.mk $(REQ:=.h)
config.h: