From 1d15fd3b879677057de1e8e3307e15b6f8816d50 Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 7 Jan 2009 12:42:34 +0000 Subject: [PATCH] port some obvious vars from the original SConstruct/SConscript to the Darwin block; Darwin still not working for sure git-svn-id: svn://svn.icculus.org/netradiant/trunk@154 61c419a2-8eb2-4b30-bcec-8cead039b335 --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e3d5ddc..a449071 100644 --- a/Makefile +++ b/Makefile @@ -154,8 +154,14 @@ else ifeq ($(OS),Win32) LIBS_GL = -lopengl32 # workaround: no -ldl on Win32 LIBS_DL = -#else ifeq ($(OS),Darwin) -# EXE = ppc +else ifeq ($(OS),Darwin) + CFLAGS_COMMON += -force-cpusubtype_ALL -fPIC + CXXFLAGS_COMMON += -fno-exceptions -fno-rtti + CPPFLAGS_COMMON += -I/sw/include -I/usr/X11R6/include + LDFLAGS_COMMON += -L/sw/lib -L/usr/lib -L/usr/X11R6/lib + LDFLAGS_DLL += -dynamiclib -ldl + EXE = ppc + $(error Unsupported build OS: $(OS) - please complete the Darwin support in this Makefile and submit a patch) else $(error Unsupported build OS: $(OS)) endif -- 2.39.2