diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-05-10 16:04:26 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-05-10 16:04:26 +0200 |
commit | fa1216b691dc5be3429858dcff845239b1aec417 (patch) | |
tree | a77cbb94478a347805ca7144ef0b65c0e1ed75b9 | |
parent | 965956ff2411bef4a26e66154fe56e6dc5d482ed (diff) |
Updated makefile.
-rw-r--r-- | Makefile.win32 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile.win32 b/Makefile.win32 index 710c370..f63789a 100644 --- a/Makefile.win32 +++ b/Makefile.win32 @@ -1,10 +1,12 @@ -CXX=i486-mingw32-g++ -LD=i486-mingw32-g++ +CXX=g++ +LD=g++ TARGET=foo.exe -OBJECTS=$(shell ls *.cpp | sed 's/cpp/o/') +#OBJECTS=$(shell ls *.cpp | sed 's/cpp/o/') +OBJECTS=gl.o gui.o main.o quadtree.o scene.o shader.o tool.o vector.o video.o #-D_GNU_SOURCE=1 -D_REENTRANT -CPPFLAGS=-I/usr/i486-mingw32/include/SDL -I/usr/i486-mingw32/include/CEGUI/ -g -mconsole -mwin32 -LDFLAGS=-lCEGUIOpenGLRenderer -lCEGUIBase -lCEGUITGAImageCodec -lCEGUITinyXMLParser -lCEGUIFalagardWRBase -lSDL_image -lfreetype -lz -lpcre -lopengl32 -lglu32 -lwinmm -lmingw32 -lSDLmain -lSDL -ljpeg +CPPFLAGS=-IC:/mingw/include/SDL -IC:/mingw/include/CEGUI/ -g -mconsole #-mwin32 +LDFLAGS=-lCEGUIOpenGLRenderer -lCEGUIBase -lCEGUITGAImageCodec -lCEGUITinyXMLParser -lCEGUIFalagardWRBase +LDFLAGS+=-lSDL_image -lfreetype -lz -lpcre -lopengl32 -lglu32 -lwinmm -lmingw32 -lSDLmain -lSDL -ljpeg -lstdc++ all: $(TARGET) @@ -12,4 +14,4 @@ $(TARGET): $(OBJECTS) $(LD) -o $@ $^ $(LDFLAGS) clean: - rm -f $(OBJECTS) $(TARGET) + del $(OBJECTS) $(TARGET) |