updated to build in MSYS again...

git-svn-id: svn://anubis/anaglym/trunk@105 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
Josh Holtrop 2009-10-19 12:30:13 +00:00
parent 9473b592e4
commit fc55b0c3e7

View File

@ -29,14 +29,14 @@ SDLLIBS := $(shell sdl-config --libs) -lSDL_image
ODEINCLUDE := $(shell ode-config --cflags) ODEINCLUDE := $(shell ode-config --cflags)
ODELIBS := $(shell ode-config --libs) ODELIBS := $(shell ode-config --libs)
TOPLEVEL := $(shell pwd)
ifeq ($(WINDOWS),1) ifeq ($(WINDOWS),1)
GLLIBS := -lopengl32 -lglu32 GLLIBS := -lopengl32 -lglu32
WINDOWSLIBS := -lmingw32 WINDOWSLIBS := -lmingw32
TARGET := $(TARGET).exe TARGET := $(TARGET).exe
TOPLEVEL := $(shell cd)
else else
GLLIBS := -lGL -lGLU GLLIBS := -lGL -lGLU
TOPLEVEL := $(shell pwd)
endif endif
export CPPFLAGS := $(LUAINCLUDE) $(SDLINCLUDE) $(ODEINCLUDE) -I$(TOPLEVEL) export CPPFLAGS := $(LUAINCLUDE) $(SDLINCLUDE) $(ODEINCLUDE) -I$(TOPLEVEL)