diff options
author | pixel <pixel> | 2002-12-23 17:34:58 +0000 |
---|---|---|
committer | pixel <pixel> | 2002-12-23 17:34:58 +0000 |
commit | 6a7fc5b043c53b9a95ffb86fdc381a7d501086a4 (patch) | |
tree | 2b014b19be44514f82c790a2f6ff23e49111eec2 | |
parent | 6de972be0a2b03023bad880300abeb0bd7a25be4 (diff) |
Adding slowly support for mingw32
-rw-r--r-- | Makefile.sol.mingw | 7 | ||||
-rw-r--r-- | lib/Makefile.sol.mingw | 17 |
2 files changed, 24 insertions, 0 deletions
diff --git a/Makefile.sol.mingw b/Makefile.sol.mingw new file mode 100644 index 0000000..2aafe72 --- /dev/null +++ b/Makefile.sol.mingw @@ -0,0 +1,7 @@ +SUBDIRS = lib + +all: + for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir -f Makefile.sol.mingw all ; done + +clean: + for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir -f Makefile.sol.mingw clean ; done 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) + |