zengine/makefile.mingw32

22 lines
1.4 KiB
Plaintext
Raw Normal View History

2002-11-21 05:40:49 +00:00
CC=g++
CFLAGS=-O2 -W -Wall -pedantic -I"c:/zengine-dev/include/" -L"c:/zengine-dev/lib/"
2002-12-04 06:11:55 +00:00
LIBS=-lmingw32 -mwindows -lZEngine -lSDL_mixer -lSDL_ttf -lSDLmain -lSDL -lGL
2002-11-21 05:40:49 +00:00
2002-12-04 06:11:55 +00:00
libZEngineS.a: src/ZE_ZTimer.cpp src/ZE_ZImage.cpp src/ZE_ZFont.cpp src/ZE_ZMusic.cpp src/ZE_ZConfigFile.cpp src/ZE_ZSound.cpp src/ZE_ZMusic.cpp src/ZE_ZRect.cpp src/ZE_Error.cpp src/ZE_ZEngine.cpp src/external/SDLGL_Util.cpp
$(CC) $(CFLAGS) -c src/ZE_ZTimer.cpp src/ZE_ZImage.cpp src/ZE_ZFont.cpp src/ZE_ZMusic.cpp src/ZE_ZConfigFile.cpp src/ZE_ZSound.cpp src/ZE_ZMusic.cpp src/ZE_ZRect.cpp src/ZE_Error.cpp src/ZE_ZEngine.cpp src/external/SDLGL_Util.cpp
ar rcs lib/libZEngineS.a ZE_ZTimer.o ZE_ZImage.o ZE_ZFont.o ZE_ZMusic.o ZE_ZConfigFile.o ZE_ZSound.o ZE_ZMusic.o ZE_Error.o ZE_ZRect.o ZE_ZEngine.o SDLGL_Util.o
2002-11-21 05:40:49 +00:00
2002-12-04 06:11:55 +00:00
tests: test/ZFontTest.cpp test/ZMouseTest.cpp test/ZMusicTest.cpp test/ZSoundTest.cpp test/ZTimerTest.cpp test/ZImageTest.cpp test/ZRectTest.cpp
$(CC) $(CFLAGS) test/ZFontTest.cpp -o test/bin/ZFontTest $(LIBS)
$(CC) $(CFLAGS) test/ZMouseTest.cpp -o test/bin/ZMouseTest $(LIBS)
$(CC) $(CFLAGS) test/ZMusicTest.cpp -o test/bin/ZMusicTest $(LIBS)
$(CC) $(CFLAGS) test/ZSoundTest.cpp -o test/bin/ZSoundTest $(LIBS)
$(CC) $(CFLAGS) test/ZTimerTest.cpp -o test/bin/ZTimerTest $(LIBS)
$(CC) $(CFLAGS) test/ZImageTest.cpp -o test/bin/ZImageTest $(LIBS)
$(CC) $(CFLAGS) test/ZRectTest.cpp -o test/bin/ZRectTest $(LIBS)
2002-11-21 05:40:49 +00:00
.PHONY: clean
clean:
2002-12-04 06:11:55 +00:00
rm *.o