-rw-r--r-- | noncore/games/sfcave-sdl/sfcave-sdl.pro | 95 |
1 files changed, 51 insertions, 44 deletions
diff --git a/noncore/games/sfcave-sdl/sfcave-sdl.pro b/noncore/games/sfcave-sdl/sfcave-sdl.pro index 2d4dcf1..8372919 100644 --- a/noncore/games/sfcave-sdl/sfcave-sdl.pro +++ b/noncore/games/sfcave-sdl/sfcave-sdl.pro | |||
@@ -1,7 +1,7 @@ | |||
1 | TEMPLATE= app | 1 | TEMPLATE = app |
2 | CONFIG += qt warn_on | 2 | CONFIG += qt warn_on |
3 | DESTDIR = $(OPIEDIR)/bin | 3 | DESTDIR = $(OPIEDIR)/bin |
4 | TARGET = sfcave-sdl | 4 | TARGET = sfcave-sdl |
5 | 5 | ||
6 | DEFINES = _REENTRANT main=SDL_main | 6 | DEFINES = _REENTRANT main=SDL_main |
7 | 7 | ||
@@ -9,47 +9,54 @@ INCLUDEPATH += $(OPIEDIR)/include | |||
9 | INCLUDEPATH += $(OPIEDIR)/include/SDL | 9 | INCLUDEPATH += $(OPIEDIR)/include/SDL |
10 | DEPENDPATH += $(OPIEDIR)/include | 10 | DEPENDPATH += $(OPIEDIR)/include |
11 | 11 | ||
12 | LIBS += -lqpe -L${SDLDIR}/lib -lSDL -lSDLmain -lSDL_gfx -lSDL_image -lSDL_mixer -lstdc++ | 12 | LIBS += -lqpe -L${SDLDIR}/lib -lSDL -lSDLmain -lSDL_gfx -lSDL_image -lSDL_mixer -lstdc++ |
13 | 13 | ||
14 | SOURCES = animatedimage.cpp \ | 14 | SOURCES = animatedimage.cpp \ |
15 | bfont.cpp \ | 15 | bfont.cpp \ |
16 | font.cpp \ | 16 | font.cpp \ |
17 | game.cpp \ | 17 | game.cpp \ |
18 | menu.cpp \ | 18 | menu.cpp \ |
19 | help.cpp \ | 19 | help.cpp \ |
20 | player.cpp \ | 20 | player.cpp \ |
21 | random.cpp \ | 21 | random.cpp \ |
22 | sfcave.cpp \ | 22 | sfcave.cpp \ |
23 | sfcave_game.cpp \ | 23 | sfcave_game.cpp \ |
24 | gates_game.cpp \ | 24 | gates_game.cpp \ |
25 | fly_game.cpp \ | 25 | fly_game.cpp \ |
26 | flyterrain.cpp \ | 26 | flyterrain.cpp \ |
27 | sound.cpp \ | 27 | sound.cpp \ |
28 | terrain.cpp \ | 28 | terrain.cpp \ |
29 | settings.cpp \ | 29 | settings.cpp \ |
30 | starfield.cpp \ | 30 | starfield.cpp \ |
31 | util.cpp | 31 | util.cpp |
32 | 32 | ||
33 | HEADERS = animatedimage.h \ | 33 | HEADERS = animatedimage.h \ |
34 | bfont.h \ | 34 | bfont.h \ |
35 | constants.h \ | 35 | constants.h \ |
36 | font.h \ | 36 | font.h \ |
37 | game.h \ | 37 | game.h \ |
38 | menu.h \ | 38 | menu.h \ |
39 | player.h \ | 39 | player.h \ |
40 | random.h \ | 40 | random.h \ |
41 | rect.h \ | 41 | rect.h \ |
42 | sfcave.h \ | 42 | sfcave.h \ |
43 | help.h \ | 43 | help.h \ |
44 | sfcave_game.h \ | 44 | sfcave_game.h \ |
45 | gates_game.h \ | 45 | gates_game.h \ |
46 | fly_game.h \ | 46 | fly_game.h \ |
47 | flyterrain.h \ | 47 | flyterrain.h \ |
48 | sound.h \ | 48 | sound.h \ |
49 | terrain.h \ | 49 | terrain.h \ |
50 | stringtokenizer.h \ | 50 | stringtokenizer.h \ |
51 | settings.h \ | 51 | settings.h \ |
52 | starfield.h \ | 52 | starfield.h \ |
53 | util.h | 53 | util.h |
54 | 54 | ||
55 | include ( $(OPIEDIR)/include.pro ) | 55 | include ( $(OPIEDIR)/include.pro ) |
56 | |||
57 | !isEmpty( LIBSDL_INC_DIR ) { | ||
58 | INCLUDEPATH = $$LIBSDL_INC_DIR $$INCLUDEPATH | ||
59 | } | ||
60 | !isEmpty( LIBSDL_LIB_DIR ) { | ||
61 | LIBS = -L$$LIBSDL_LIB_DIR $$LIBS | ||
62 | } | ||