Makefile: don't put "-lgps" into LDFLAGS as this is overridden by bitbake/poky

This commit is contained in:
Harald Welte 2013-04-10 13:52:23 +02:00
parent 26067799c5
commit 374dc34c26
1 changed files with 1 additions and 2 deletions

View File

@ -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 $^