fix commit that mistakenly happened
[model-checker-benchmarks.git] / benchmarks.mk
index d47b6d6..7f82f92 100644 (file)
@@ -9,15 +9,25 @@ LIB_NAME = model
 LIB_SO = lib$(LIB_NAME).so
 
 BASE = ../..
-INCLUDE = -I$(BASE)/include  -I$(BASE)
-CPPFLAGS += $(INCLUDE)
-CFLAGS += $(INCLUDE)
-LDFLAGS += -L$(BASE) -l$(LIB_NAME)
+INCLUDE = -I$(BASE)/include -I../include
+
+# C preprocessor flags
+CPPFLAGS += $(INCLUDE) -g
+
+# C++ compiler flags
+CXXFLAGS += $(CPPFLAGS)
+
+# C compiler flags
+CFLAGS += $(CPPFLAGS)
+
+# Linker flags
+LDFLAGS += -L$(BASE) -l$(LIB_NAME) -rdynamic
 
 # Mac OSX options
 ifeq ($(UNAME), Darwin)
 MACFLAGS = -D_XOPEN_SOURCE -DMAC
 CPPFLAGS += $(MACFLAGS)
+CXXFLAGS += $(MACFLAGS)
 CFLAGS += $(MACFLAGS)
 LDFLAGS += $(MACFLAGS)
 endif