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
commit64f1b1f5da7826b3f87492d4f9019d3a104e9277 (patch)
tree68de1a8135b14cd8ffd7201d9e24a6e6eab28c7e
parent708cbcd71200c60a845cacb3e19fed9e390c6c68 (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)