[hackers] [slstatus] Fix object order and stop using a GNU make idiom || Laslo Hunhold

From: <git_AT_suckless.org>
Date: Mon, 28 May 2018 16:16:31 +0200 (CEST)

commit cd884c2f0a585f8c6a49f1faacacb7925d75dbb0
Author: Laslo Hunhold <dev_AT_frign.de>
AuthorDate: Mon May 28 15:58:28 2018 +0200
Commit: Aaron Marcher <me_AT_drkhsh.at>
CommitDate: Mon May 28 16:16:20 2018 +0200

    Fix object order and stop using a GNU make idiom

diff --git a/Makefile b/Makefile
index 8c6f170..5756418 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -60,7 +60,7 @@ config.h:
         cp config.def.h $_AT_
 
 slstatus: slstatus.o $(COM:=.o) $(REQ:=.o)
- $(CC) -o $_AT_ $(LDFLAGS) $< $(COM:=.o) $(REQ:=.o) $(LDLIBS)
+ $(CC) -o $_AT_ $(LDFLAGS) $(COM:=.o) $(REQ:=.o) slstatus.o $(LDLIBS)
 
 clean:
         rm -f slstatus slstatus.o $(COM:=.o) $(REQ:=.o)
Received on Mon May 28 2018 - 16:16:31 CEST

This archive was generated by hypermail 2.3.0 : Mon May 28 2018 - 16:24:24 CEST