Mercurial > fife-parpg
diff ext/guichan-0.8.2/examples/Makefile.examples @ 378:64738befdf3b
bringing in the changes from the build_system_rework branch in preparation for the 0.3.0 release. This commit will require the Jan2010 devkit. Clients will also need to be modified to the new way to import fife.
author | vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 11 Jan 2010 23:34:52 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ext/guichan-0.8.2/examples/Makefile.examples Mon Jan 11 23:34:52 2010 +0000 @@ -0,0 +1,41 @@ +CFLAGS = -Werror -Wall -Wno-unused + +all: allegro openglallegro openglsdl sdl + +allegro: + g++ allegrohelloworld.cpp -o allegrohelloworld $(CFLAGS) \ + -lguichan_allegro -lguichan `allegro-config --libs --cflags` + g++ allegrowidgets.cpp -o allegrowidgets $(CFLAGS) \ + -lguichan_allegro -lguichan `allegro-config --libs --cflags` + g++ allegroaction.cpp -o allegroaction $(CFLAGS) \ + -lguichan_allegro -lguichan `allegro-config --libs --cflags` + +openglallegro: + g++ openglallegrohelloworld.cpp -o openglallegrohelloworld $(CFLAGS) \ + -lguichan_opengl -lguichan_allegro -lguichan -lGL -lGLU -lagl `allegro-config --libs --cflags` + g++ openglallegrowidgets.cpp -o openglallegrowidgets $(CFLAGS) \ + -lguichan_opengl -lguichan_allegro -lguichan -lGL -lGLU -lagl `allegro-config --libs --cflags` + g++ openglallegrowidgets.cpp -o openglallegroaction $(CFLAGS) \ + -lguichan_opengl -lguichan_allegro -lguichan -lGL -lGLU -lagl `allegro-config --libs --cflags` + +openglsdl: + g++ openglsdlhelloworld.cpp -o openglsdlhelloworld $(CFLAGS) \ + -lguichan_sdl -lguichan_opengl -lguichan -lSDL_image `sdl-config --libs --cflags` -lGL + g++ openglsdlwidgets.cpp -o openglsdlwidgets $(CFLAGS) \ + -lguichan_sdl -lguichan_opengl -lguichan -lSDL_image `sdl-config --libs --cflags` -lGL + g++ openglsdlaction.cpp -o openglsdlaction $(CFLAGS) \ + -lguichan_sdl -lguichan_opengl -lguichan -lSDL_image `sdl-config --libs --cflags` -lGL + +sdl: + g++ sdlhelloworld.cpp -o sdlhelloworld $(CFLAGS) \ + -lguichan_sdl -lguichan -lSDL_image `sdl-config --libs --cflags` + g++ sdlwidgets.cpp -o sdlwidgets $(CFLAGS) \ + -lguichan_sdl -lguichan -lSDL_image `sdl-config --libs --cflags` + g++ sdlaction.cpp -o sdlaction $(CFLAGS) \ + -lguichan_sdl -lguichan -lSDL_image `sdl-config --libs --cflags` + +clean: + rm -f allegroaction allegrohelloworld allegrowidgets + rm -f openglallegroaction openglallegrohelloworld openglallegrowidgets + rm -f openglsdlaction openglsdlhelloworld openglsdlwidgets + rm -f sdlaction sdlhelloworld sdlwidgets \ No newline at end of file