Added gpstk compile flags
authorBenoit Papillault <benoit.papillault@free.fr>
Wed, 21 Dec 2011 22:01:03 +0000 (23:01 +0100)
committerBenoit Papillault <benoit.papillault@free.fr>
Wed, 21 Dec 2011 22:01:03 +0000 (23:01 +0100)
Makefile

index 593b452..af8253f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,15 @@
 #CFLAGS        += -I$(GPSD_PATH)
 #LDFLAGS       += -L$(GPSD_PATH)
 
-CFLAGS += -Wall -g
-LDFLAGS        += -g
-LDLIBS += -lgps
+CFLAGS         += -Wall -g
+CPPFLAGS       += -Wall -g
+LDLIBS         += -lgps
+
+# for gpstk
+GPSTK_HOME     = $(HOME)/gpstk
+CPPFLAGS       += -I$(GPSTK_HOME)/include/gpstk/
+LDFLAGS                += -L$(GPSTK_HOME)/lib
+LDLIBS         += -lprocframe -lgpstk
 
 default: mygps sirf