summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2003-03-09 17:52:23 +0000
committerpixel <pixel>2003-03-09 17:52:23 +0000
commit3e0ecd83bcc10000600e997e4e60ca84aa20bb59 (patch)
treefd9b5474616f8e385503af3b6731a78022ce28d1
parentf05e08bec5e53505cf662d7afd0c7f71b2096bcf (diff)
Fixing mingw...
-rw-r--r--lib/Makefile.sol.mingw2
-rw-r--r--src/Makefile.sol.mingw2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile.sol.mingw b/lib/Makefile.sol.mingw
index 3aea9cb..2cdb920 100644
--- a/lib/Makefile.sol.mingw
+++ b/lib/Makefile.sol.mingw
@@ -2,7 +2,7 @@ CC = i586-mingw32msvc-gcc
CXX = i586-mingw32msvc-g++
AR = i586-mingw32msvc-ar
RANLIB = i586-mingw32msvc-ranlib
-CPPFLAGS = -I../include -DFORCE64 -I../../Baltisot/include `/usr/local/win32/bin/sdl-config --cflags` -I/usr/local/win32/include
+CPPFLAGS = -I../include -DFORCE64 -I../../Baltisot/include -DDEBUG `/usr/i586-mingw32msvc/bin/sdl-config --cflags` -O3 -mwindows
OBJECTS = engine.o glbase.o glfont.o gltexture.o sprite.o
TARGET = mogltk-sol.a
diff --git a/src/Makefile.sol.mingw b/src/Makefile.sol.mingw
index 3625d3c..5af27eb 100644
--- a/src/Makefile.sol.mingw
+++ b/src/Makefile.sol.mingw
@@ -2,7 +2,7 @@ CC = i586-mingw32msvc-gcc
CXX = i586-mingw32msvc-g++
AR = i586-mingw32msvc-ar
RANLIB = i586-mingw32msvc-ranlib
-CPPFLAGS = -I../include -DFORCE64 -I../../Baltisot/include `/usr/local/win32/bin/sdl-config --cflags` -I/usr/local/win32/include
+CPPFLAGS = -I../include -DFORCE64 -I../../Baltisot/include `/usr/local/win32/bin/sdl-config --cflags` -I/usr/local/win32/include -O3 -mwindows
LDFLAGS = ../lib/mogltk-sol.a ../../Baltisot/lib/Baltisot-sol.a -lopengl32 -lglu32 -lz `/usr/local/win32/bin/sdl-config --libs`
OBJECTS = test.o
TARGET = test.exe