aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2017-09-13 22:40:36 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2017-09-13 22:40:36 +0200
commit274d46ace00003d1df718b974d17642cbce167d5 (patch)
tree4d3aedc200176be966170bba6d12f45f3cd8db96 /Makefile
parent9c61f29bb7da237907e42875ebe7d0084e8ab1ac (diff)
downloadst-274d46ace00003d1df718b974d17642cbce167d5.tar.gz
st-274d46ace00003d1df718b974d17642cbce167d5.tar.bz2
st-274d46ace00003d1df718b974d17642cbce167d5.zip
Revert "fixed STLDFLAG order in broken st Makefile"
This reverts commit 7f990328e4fec8dfaaad311cb8af2304b58c872e. this was wrong as pointed out by k0ga: "STLDFLAGS is about flags to the linker, for example -L not about -l for that reason it must go before the object list".
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c678ead..128ee9d 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ x.o: arg.h st.h win.h
$(OBJ): config.h config.mk
st: $(OBJ)
- $(CC) -o $@ $(OBJ) $(STLDFLAGS)
+ $(CC) $(STLDFLAGS) -o $@ $(OBJ)
clean:
rm -f st $(OBJ) st-$(VERSION).tar.gz