Mercurial > fife-parpg
comparison 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 |
comparison
equal
deleted
inserted
replaced
377:fe6fb0e0ed23 | 378:64738befdf3b |
---|---|
1 CFLAGS = -Werror -Wall -Wno-unused | |
2 | |
3 all: allegro openglallegro openglsdl sdl | |
4 | |
5 allegro: | |
6 g++ allegrohelloworld.cpp -o allegrohelloworld $(CFLAGS) \ | |
7 -lguichan_allegro -lguichan `allegro-config --libs --cflags` | |
8 g++ allegrowidgets.cpp -o allegrowidgets $(CFLAGS) \ | |
9 -lguichan_allegro -lguichan `allegro-config --libs --cflags` | |
10 g++ allegroaction.cpp -o allegroaction $(CFLAGS) \ | |
11 -lguichan_allegro -lguichan `allegro-config --libs --cflags` | |
12 | |
13 openglallegro: | |
14 g++ openglallegrohelloworld.cpp -o openglallegrohelloworld $(CFLAGS) \ | |
15 -lguichan_opengl -lguichan_allegro -lguichan -lGL -lGLU -lagl `allegro-config --libs --cflags` | |
16 g++ openglallegrowidgets.cpp -o openglallegrowidgets $(CFLAGS) \ | |
17 -lguichan_opengl -lguichan_allegro -lguichan -lGL -lGLU -lagl `allegro-config --libs --cflags` | |
18 g++ openglallegrowidgets.cpp -o openglallegroaction $(CFLAGS) \ | |
19 -lguichan_opengl -lguichan_allegro -lguichan -lGL -lGLU -lagl `allegro-config --libs --cflags` | |
20 | |
21 openglsdl: | |
22 g++ openglsdlhelloworld.cpp -o openglsdlhelloworld $(CFLAGS) \ | |
23 -lguichan_sdl -lguichan_opengl -lguichan -lSDL_image `sdl-config --libs --cflags` -lGL | |
24 g++ openglsdlwidgets.cpp -o openglsdlwidgets $(CFLAGS) \ | |
25 -lguichan_sdl -lguichan_opengl -lguichan -lSDL_image `sdl-config --libs --cflags` -lGL | |
26 g++ openglsdlaction.cpp -o openglsdlaction $(CFLAGS) \ | |
27 -lguichan_sdl -lguichan_opengl -lguichan -lSDL_image `sdl-config --libs --cflags` -lGL | |
28 | |
29 sdl: | |
30 g++ sdlhelloworld.cpp -o sdlhelloworld $(CFLAGS) \ | |
31 -lguichan_sdl -lguichan -lSDL_image `sdl-config --libs --cflags` | |
32 g++ sdlwidgets.cpp -o sdlwidgets $(CFLAGS) \ | |
33 -lguichan_sdl -lguichan -lSDL_image `sdl-config --libs --cflags` | |
34 g++ sdlaction.cpp -o sdlaction $(CFLAGS) \ | |
35 -lguichan_sdl -lguichan -lSDL_image `sdl-config --libs --cflags` | |
36 | |
37 clean: | |
38 rm -f allegroaction allegrohelloworld allegrowidgets | |
39 rm -f openglallegroaction openglallegrohelloworld openglallegrowidgets | |
40 rm -f openglsdlaction openglsdlhelloworld openglsdlwidgets | |
41 rm -f sdlaction sdlhelloworld sdlwidgets |