1 |
< |
# Dash Interface |
1 |
> |
# GPS |
2 |
|
# |
3 |
|
# Douglas Thrift |
4 |
|
# |
5 |
|
# $Id$ |
6 |
|
|
7 |
< |
common := ../Common |
8 |
< |
audacious := ../Audacious |
9 |
< |
|
10 |
< |
include $(common)/common.mk |
11 |
< |
include $(audacious)/Audacious.mk |
12 |
< |
|
13 |
< |
CPPFLAGS += -I$(common) -I$(audacious) |
14 |
< |
LDFLAGS += -L/usr/local/lib -L$(common) $(shell pkg-config --libs-only-L \ |
15 |
< |
libgps) $(shell pkg-config --libs-only-other libgps) |
16 |
< |
LDLIBS += -pthread $(shell pkg-config --libs-only-l libgps) |
17 |
< |
|
18 |
< |
.PHONY: all clean |
19 |
< |
|
20 |
< |
all: DashInterface |
21 |
< |
|
22 |
< |
DashInterface: DashInterface.o |
23 |
< |
|
24 |
< |
-include *.d |
25 |
< |
|
26 |
< |
$(eval $(call clean,DashInterface *.core *.d *.o)) |
7 |
> |
CPPFLAGS += -I$(gps) |
8 |
> |
LDFLAGS += -L$(gps) $(shell pkg-config --libs-only-L libgps) $(shell pkg-config --libs-only-other libgps) |
9 |
> |
LDLIBS += -lGPS $(shell pkg-config --libs-only-l libgps) |