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
This commit is contained in:
parent
c75a6b31c6
commit
1d15fd3b87
10
Makefile
10
Makefile
|
|
@ -154,8 +154,14 @@ else ifeq ($(OS),Win32)
|
||||||
LIBS_GL = -lopengl32
|
LIBS_GL = -lopengl32
|
||||||
# workaround: no -ldl on Win32
|
# workaround: no -ldl on Win32
|
||||||
LIBS_DL =
|
LIBS_DL =
|
||||||
#else ifeq ($(OS),Darwin)
|
else ifeq ($(OS),Darwin)
|
||||||
# EXE = ppc
|
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
|
else
|
||||||
$(error Unsupported build OS: $(OS))
|
$(error Unsupported build OS: $(OS))
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user