commit cd884c2f0a585f8c6a49f1faacacb7925d75dbb0
Author: Laslo Hunhold <[email protected]>
AuthorDate: Mon May 28 15:58:28 2018 +0200
Commit: Aaron Marcher <[email protected]>
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
@@ -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)