diff options
-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) + |