]> www.average.org Git - pulsecounter.git/blob - linux/Makefile
separate dbstore module
[pulsecounter.git] / linux / Makefile
1 CFLAGS += -I$(BLUEZ) `pkg-config --cflags glib-2.0`
2 LDLIBS = $(BLUEZ)/lib/.libs/libbluetooth-internal.a \
3         $(BLUEZ)/src/.libs/libshared-glib.a \
4         `pkg-config --libs glib-2.0`
5
6 all: pulsecounter
7
8 pulsecounter.o: pulsecounter.c dbstore.h
9
10 dbstore.o: dbstore.c dbstore.h
11
12 pulsecounter: pulsecounter.o dbstore.o \
13         $(BLUEZ)/attrib/att.o $(BLUEZ)/attrib/gatt.o \
14         $(BLUEZ)/attrib/gattrib.o $(BLUEZ)/btio/btio.o \
15         $(BLUEZ)/attrib/utils.o $(BLUEZ)/src/log.o
16         $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
17
18
19 #       $(BLUEZ)/attrib/interactive.o \
20 #       $(BLUEZ)/client/display.o