summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-10-27 02:14:53 +0600
committerdrkhsh <me@drkhsh.at>2022-10-26 23:32:07 +0200
commit28ef0b242c32e8ae8b4df2b4b380e30bf581130f (patch)
tree2d415abf274f910a09059afaadcc6c146aa1b7a4 /Makefile
parentf29aa9ab0656c938ad0c0d4a6136ff25bd82ebf9 (diff)
downloadslstatus-28ef0b242c32e8ae8b4df2b4b380e30bf581130f.tar.gz
components/*.c: include slstatus.h
this gives the compiler a chance to check weather the prototype and definiton matches or not, which would catch issues like 3c47701.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2f93b87..542b1f0 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ COM =\
all: slstatus
-$(COM:=.o): config.mk $(REQ:=.h)
+$(COM:=.o): config.mk $(REQ:=.h) slstatus.h
slstatus.o: slstatus.c slstatus.h arg.h config.h config.mk $(REQ:=.h)
.c.o: