summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaslo Hunhold <dev@frign.de>2018-05-28 15:58:28 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-28 16:16:20 +0200
commitcd884c2f0a585f8c6a49f1faacacb7925d75dbb0 (patch)
tree68de1a8135b14cd8ffd7201d9e24a6e6eab28c7e
parent0efd64ffaa04715eff9c834c437562952c4531cd (diff)
Fix object order and stop using a GNU make idiom
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)