From 9dc56c511d3e075d8acbf59a4b847065f9118a3b Mon Sep 17 00:00:00 2001 From: James Turk Date: Wed, 4 Dec 2002 06:11:55 +0000 Subject: [PATCH] OpenGL update. --- makefile.mingw32 | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/makefile.mingw32 b/makefile.mingw32 index 44a368a..93d0a72 100644 --- a/makefile.mingw32 +++ b/makefile.mingw32 @@ -1,20 +1,21 @@ CC=g++ CFLAGS=-O2 -W -Wall -pedantic -I"c:/zengine-dev/include/" -L"c:/zengine-dev/lib/" -LIBS=-lmingw32 -mwindows -lZEngine -lSDL_mixer -lSDL_ttf -lSDLmain -lSDL +LIBS=-lmingw32 -mwindows -lZEngine -lSDL_mixer -lSDL_ttf -lSDLmain -lSDL -lGL -zengine.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_Error.cpp src/ZE_ZEngine.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_Error.cpp src/ZE_ZEngine.cpp - ar rcs lib/libZEngine.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_ZEngine.o +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 -tests: test/ZFontTest.cpp test/ZMouseTest.cpp test/ZMusicTest.cpp test/ZSoundTest.cpp test/ZTimerTest.cpp test/ZImageTest.cpp - $(CC) $(CFLAGS) test/ZFontTest.cpp -o test/bin/ZFontTest.exe $(LIBS) - $(CC) $(CFLAGS) test/ZMouseTest.cpp -o test/bin/ZMouseTest.exe $(LIBS) - $(CC) $(CFLAGS) test/ZMusicTest.cpp -o test/bin/ZMusicTest.exe $(LIBS) - $(CC) $(CFLAGS) test/ZSoundTest.cpp -o test/bin/ZSoundTest.exe $(LIBS) - $(CC) $(CFLAGS) test/ZTimerTest.cpp -o test/bin/ZTimerTest.exe $(LIBS) - $(CC) $(CFLAGS) test/ZImageTest.cpp -o test/bin/ZImageTest.exe $(LIBS) +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) .PHONY: clean clean: - rm *.o \ No newline at end of file + rm *.o