Fix ordering of LDFLAGS.

This commit is contained in:
Simon Howard 2014-05-04 20:16:43 +00:00
parent 17204bbf73
commit da3b94dd25

View file

@ -3,5 +3,5 @@ CFLAGS = $(shell sdl-config --cflags)
LDFLAGS = $(shell sdl-config --libs)
joytest : joytest.c
$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)