Fix object order and stop using a GNU make idiom - slstatus - status monitor
(HTM) git clone git://git.suckless.org/slstatus
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit cd884c2f0a585f8c6a49f1faacacb7925d75dbb0
(DIR) parent 0efd64ffaa04715eff9c834c437562952c4531cd
(HTM) Author: Laslo Hunhold <dev@frign.de>
Date: Mon, 28 May 2018 15:58:28 +0200
Fix object order and stop using a GNU make idiom
Diffstat:
M Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/Makefile b/Makefile
@@ -60,7 +60,7 @@ config.h:
cp config.def.h $@
slstatus: slstatus.o $(COM:=.o) $(REQ:=.o)
- $(CC) -o $@ $(LDFLAGS) $< $(COM:=.o) $(REQ:=.o) $(LDLIBS)
+ $(CC) -o $@ $(LDFLAGS) $(COM:=.o) $(REQ:=.o) slstatus.o $(LDLIBS)
clean:
rm -f slstatus slstatus.o $(COM:=.o) $(REQ:=.o)