From 9964203e0362ff27757b196571c7c681ce688de4 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 10 Apr 2013 13:55:10 +0200 Subject: [PATCH] Makefile: Move -lgps to the end for particularly picky linkers --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $^