summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.win3214
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)