common: drop model_print_summary()
[cdsspec-compiler.git] / common.mk
index e9e406002296c48e8e324f6cf440875487ff6a47..9fe9f09745c73ef0f75e3776c9d09c4a6b58c3d0 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -8,4 +8,9 @@ UNAME = $(shell uname)
 LIB_NAME = model
 LIB_SO = lib$(LIB_NAME).so
 
-CPPFLAGS += -Wall -g -O0
+CPPFLAGS += -Wall -g -O3
+
+# Mac OSX options
+ifeq ($(UNAME), Darwin)
+CPPFLAGS += -D_XOPEN_SOURCE -DMAC
+endif