From 2fbd497884095fd07916c1bfb6f4652a61919c49 Mon Sep 17 00:00:00 2001 From: divverent Date: Fri, 9 Jan 2009 22:22:22 +0000 Subject: [PATCH] more makefile fixes for OS X git-svn-id: svn://svn.icculus.org/netradiant/trunk@168 61c419a2-8eb2-4b30-bcec-8cead039b335 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e1cb5afc..a26833a9 100644 --- a/Makefile +++ b/Makefile @@ -145,7 +145,7 @@ endif endif ifeq ($(OS),Linux) - CPPFLAGS_COMMON += -DPOSIX -DXWINDOWS -D_LINUX + CPPFLAGS_COMMON += -DPOSIX -DXWINDOWS CFLAGS_COMMON += -fPIC LDFLAGS_DLL = -fPIC -ldl LIBS_COMMON = -lpthread @@ -174,6 +174,7 @@ ifeq ($(OS),Win32) else ifeq ($(OS),Darwin) + CPPFLAGS_COMMON += -DPOSIX -DXWINDOWS CFLAGS_COMMON += -fPIC CXXFLAGS_COMMON += -fno-exceptions -fno-rtti CPPFLAGS_COMMON += -I/sw/include -I/usr/X11R6/include -- 2.39.2