From fc55b0c3e70c73bdc993b73b2ebe2591231b4891 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 19 Oct 2009 12:30:13 +0000 Subject: [PATCH] updated to build in MSYS again... git-svn-id: svn://anubis/anaglym/trunk@105 99a6e188-d820-4881-8870-2d33a10e2619 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 13e006a..6288fc7 100644 --- a/Makefile +++ b/Makefile @@ -29,14 +29,14 @@ SDLLIBS := $(shell sdl-config --libs) -lSDL_image ODEINCLUDE := $(shell ode-config --cflags) ODELIBS := $(shell ode-config --libs) +TOPLEVEL := $(shell pwd) + ifeq ($(WINDOWS),1) GLLIBS := -lopengl32 -lglu32 WINDOWSLIBS := -lmingw32 TARGET := $(TARGET).exe -TOPLEVEL := $(shell cd) else GLLIBS := -lGL -lGLU -TOPLEVEL := $(shell pwd) endif export CPPFLAGS := $(LUAINCLUDE) $(SDLINCLUDE) $(ODEINCLUDE) -I$(TOPLEVEL)