X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=common.mk;h=009ae634827f39f4d8dab210611e7b9f88bcbcec;hb=d2cbbe4ce6d8f6e1aa23b8fe639ed58edf1789b7;hp=e9e406002296c48e8e324f6cf440875487ff6a47;hpb=964141f234c1b79f43f2a0988cc5bd55e484f004;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