summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-04-10 13:52:23 +0200
committerHarald Welte <laforge@gnumonks.org>2013-04-10 13:52:23 +0200
commit374dc34c26023cc50ee126c552664a79ff630d38 (patch)
tree51a1e6027f9dcc05c67fc7f6ce41b7345b1b2a9a
parent26067799c5399f1442d91dad73b800fa86191cac (diff)
downloadgpsdate-374dc34c26023cc50ee126c552664a79ff630d38.tar.gz
gpsdate-374dc34c26023cc50ee126c552664a79ff630d38.tar.bz2
gpsdate-374dc34c26023cc50ee126c552664a79ff630d38.tar.xz
gpsdate-374dc34c26023cc50ee126c552664a79ff630d38.zip
Makefile: don't put "-lgps" into LDFLAGS as this is overridden by bitbake/poky
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0059b70..e73afa3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,8 @@
CFLAGS=-Wall -O2
-LDFLAGS=-lgps
gpsdate: gpsdate.o
- $(CC) $(LDFLAGS) -o $@ $^
+ $(CC) $(LDFLAGS) -lgps -o $@ $^
%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $^