added WITHOUT_ODE make and compile flag

git-svn-id: svn://anubis/dwscr/trunk@87 5bef9df8-b654-44bb-925b-0ff18baa8f8c
This commit is contained in:
josh committed 2008-09-22 17:47:10 +00:00
1 parent ebb866d662
commit c2d694aa73
4 files changed
+31 -2

No files matched your search

+11 -2
View File
@@ -18,6 +18,9 @@ endif
ifdef WINDOW_MODE
CPPFLAGS += -DWINDOW_MODE
endif
ifdef WITHOUT_ODE
CPPFLAGS += -DWITHOUT_ODE
endif
ifdef WIN32
export CP := copy
export MV := rename
@@ -25,8 +28,14 @@ export CC := mingw32-gcc
export CXX := mingw32-g++
SDL_BASE := C:\apps\SDL-1.2.13
ODE_BASE := C:\apps\ode-0.9
export CPPFLAGS += -I$(SDL_BASE)\include -I$(ODE_BASE)\include -D_GNU_SOURCE=1 -Dmain=SDL_main
LDFLAGS += -L$(SDL_BASE)\lib -L$(ODE_BASE)\lib\releasedll -lopengl32 -lglu32 -lmingw32 -mwindows -lSDLmain -lSDL -lode
export CPPFLAGS += -I$(SDL_BASE)\include -D_GNU_SOURCE=1 -Dmain=SDL_main
ifndef WITHOUT_ODE
export CPPFLAGS += -i$(ODE_BASE)\include
endif
LDFLAGS += -L$(SDL_BASE)\lib -lopengl32 -lglu32 -lmingw32 -mwindows -lSDLmain -lSDL
ifndef WITHOUT_ODE
LDFLAGS += -L$(ODE_BASE)\lib\releasedll -lode
endif
TARGET := $(TARGET).exe
SSNAME := dwscr.scr
INSTALLDIR := C:\WINDOWS