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".
$(OBJ): config.h config.mk
st: $(OBJ)
$(OBJ): config.h config.mk
st: $(OBJ)
- $(CC) -o $@ $(OBJ) $(STLDFLAGS)
+ $(CC) $(STLDFLAGS) -o $@ $(OBJ)
clean:
rm -f st $(OBJ) st-$(VERSION).tar.gz
clean:
rm -f st $(OBJ) st-$(VERSION).tar.gz