]> www.average.org Git - pulsecounter.git/blobdiff - linux/Makefile
fix config parser
[pulsecounter.git] / linux / Makefile
index 7e23bf53dc5939cd426c2720c5397d0b103fb70f..bbf694c8322dd050ce5c384446cd54a62ab597a1 100644 (file)
@@ -17,6 +17,7 @@ pulsecounter: pulsecounter.o dbstore.o \
        $(BLUEZ)/attrib/utils.o $(BLUEZ)/src/log.o
        $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
 
        $(BLUEZ)/attrib/utils.o $(BLUEZ)/src/log.o
        $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
 
-
-#      $(BLUEZ)/attrib/interactive.o \
-#      $(BLUEZ)/client/display.o
+testconf: dbstore.c dbstore.h
+       $(CC) -g `pkg-config --cflags glib-2.0` `pkg-config mariadb --cflags` \
+               -DTEST_CONFIG $< `pkg-config --libs glib-2.0` \
+               `pkg-config mariadb --libs` -o $@