summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2002-12-23 17:34:58 +0000
committerpixel <pixel>2002-12-23 17:34:58 +0000
commit6a7fc5b043c53b9a95ffb86fdc381a7d501086a4 (patch)
tree2b014b19be44514f82c790a2f6ff23e49111eec2 /lib
parent6de972be0a2b03023bad880300abeb0bd7a25be4 (diff)
Adding slowly support for mingw32
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.sol.mingw17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/Makefile.sol.mingw b/lib/Makefile.sol.mingw
new file mode 100644
index 0000000..2a7ff80
--- /dev/null
+++ b/lib/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 -DHAVE_VSNPRINTF
+OBJECTS = engine.o glbase.o glfont.o gltexture.o
+TARGET = mogltk-sol.a
+
+all: $(TARGET)
+
+$(TARGET): $(OBJECTS)
+ $(AR) r $(TARGET) $(OBJECTS)
+ $(RANLIB) $(TARGET)
+
+clean:
+ rm -f *.o $(TARGET)
+