X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=common.mk;h=009ae634827f39f4d8dab210611e7b9f88bcbcec;hb=3dbbf345d69d35d3f763fd59bb6d2bc9d9530e98;hp=e9e406002296c48e8e324f6cf440875487ff6a47;hpb=964141f234c1b79f43f2a0988cc5bd55e484f004;p=c11tester.git diff --git a/common.mk b/common.mk index e9e40600..009ae634 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