X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=common.mk;h=009ae634827f39f4d8dab210611e7b9f88bcbcec;hb=51d0154de2ac3c660a58c3f377f4092c6fd1621b;hp=e9e406002296c48e8e324f6cf440875487ff6a47;hpb=76205f5d9b62f73ea01f7e55765a043a8333a455;p=model-checker.git diff --git a/common.mk b/common.mk index e9e4060..009ae63 100644 --- a/common.mk +++ b/common.mk @@ -9,3 +9,8 @@ LIB_NAME = model LIB_SO = lib$(LIB_NAME).so CPPFLAGS += -Wall -g -O0 + +# Mac OSX options +ifeq ($(UNAME), Darwin) +CPPFLAGS += -D_XOPEN_SOURCE -DMAC +endif