summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-04-10 13:55:10 +0200
committerHarald Welte <laforge@gnumonks.org>2013-04-10 13:55:10 +0200
commit9964203e0362ff27757b196571c7c681ce688de4 (patch)
tree2cdffa23d161942c7f1544d1c267f55b7031aa72
parent374dc34c26023cc50ee126c552664a79ff630d38 (diff)
downloadgpsdate-9964203e0362ff27757b196571c7c681ce688de4.tar.gz
gpsdate-9964203e0362ff27757b196571c7c681ce688de4.tar.bz2
gpsdate-9964203e0362ff27757b196571c7c681ce688de4.tar.xz
gpsdate-9964203e0362ff27757b196571c7c681ce688de4.zip
Makefile: Move -lgps to the end for particularly picky linkers
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e73afa3..1e72cbc 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
CFLAGS=-Wall -O2
gpsdate: gpsdate.o
- $(CC) $(LDFLAGS) -lgps -o $@ $^
+ $(CC) $(LDFLAGS) -o $@ $^ -lgps
%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $^