comparison ext/guichan-0.8.1/examples/Makefile.examples @ 89:fa33cda75471

* Reverting back to 2543 as requested by sleek
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 19 Jul 2008 11:38:52 +0000
parents 4a0efb7baf70
children
comparison
equal deleted inserted replaced
88:1c2842ebe393 89:fa33cda75471
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