summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpixel <pixel>2003-01-22 23:16:24 +0000
committerpixel <pixel>2003-01-22 23:16:24 +0000
commitbb32e12dbbcae1703a7998579eeac21bad6386b4 (patch)
tree1360e3de2fb6ec9858515488bc9ee49419c8c848 /src
parent82823832a40a8b16433c9e7d1b84f18f6d21c525 (diff)
forgot a makefile :>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.sol.mingw17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Makefile.sol.mingw b/src/Makefile.sol.mingw
new file mode 100644
index 0000000..3625d3c
--- /dev/null
+++ b/src/Makefile.sol.mingw
@@ -0,0 +1,17 @@
+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
+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
+
+all: $(TARGET)
+
+$(TARGET): $(OBJECTS)
+ $(CXX) -o $(TARGET) $(OBJECTS) $(LDFLAGS)
+
+clean:
+ rm -f *.o $(TARGET)
+