author | ar <ar> | 2004-05-01 21:43:55 (UTC) |
---|---|---|
committer | ar <ar> | 2004-05-01 21:43:55 (UTC) |
commit | c3c3d7c9be7b6ff1c905686bd960877f816962ff (patch) (side-by-side diff) | |
tree | 0766ac99f1e66b83beca222426e1a08faeff53c1 /noncore/games | |
parent | 8aa8b5166653d52f9623fbb1391d044916a2a260 (diff) | |
download | opie-c3c3d7c9be7b6ff1c905686bd960877f816962ff.zip opie-c3c3d7c9be7b6ff1c905686bd960877f816962ff.tar.gz opie-c3c3d7c9be7b6ff1c905686bd960877f816962ff.tar.bz2 |
- use lib and inlcude dir from dependencies before the other dir's
-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 @@ -TEMPLATE = app -CONFIG += qt warn_on -DESTDIR = $(OPIEDIR)/bin -TARGET = sfcave-sdl +TEMPLATE = app +CONFIG += qt warn_on +DESTDIR = $(OPIEDIR)/bin +TARGET = sfcave-sdl DEFINES = _REENTRANT main=SDL_main @@ -9,47 +9,54 @@ INCLUDEPATH += $(OPIEDIR)/include INCLUDEPATH += $(OPIEDIR)/include/SDL DEPENDPATH += $(OPIEDIR)/include -LIBS += -lqpe -L${SDLDIR}/lib -lSDL -lSDLmain -lSDL_gfx -lSDL_image -lSDL_mixer -lstdc++ +LIBS += -lqpe -L${SDLDIR}/lib -lSDL -lSDLmain -lSDL_gfx -lSDL_image -lSDL_mixer -lstdc++ -SOURCES = animatedimage.cpp \ - bfont.cpp \ - font.cpp \ - game.cpp \ - menu.cpp \ - help.cpp \ - player.cpp \ - random.cpp \ - sfcave.cpp \ - sfcave_game.cpp \ - gates_game.cpp \ - fly_game.cpp \ - flyterrain.cpp \ - sound.cpp \ - terrain.cpp \ - settings.cpp \ - starfield.cpp \ - util.cpp +SOURCES = animatedimage.cpp \ + bfont.cpp \ + font.cpp \ + game.cpp \ + menu.cpp \ + help.cpp \ + player.cpp \ + random.cpp \ + sfcave.cpp \ + sfcave_game.cpp \ + gates_game.cpp \ + fly_game.cpp \ + flyterrain.cpp \ + sound.cpp \ + terrain.cpp \ + settings.cpp \ + starfield.cpp \ + util.cpp -HEADERS = animatedimage.h \ - bfont.h \ - constants.h \ - font.h \ - game.h \ - menu.h \ - player.h \ - random.h \ - rect.h \ - sfcave.h \ - help.h \ - sfcave_game.h \ - gates_game.h \ - fly_game.h \ - flyterrain.h \ - sound.h \ - terrain.h \ - stringtokenizer.h \ - settings.h \ - starfield.h \ - util.h +HEADERS = animatedimage.h \ + bfont.h \ + constants.h \ + font.h \ + game.h \ + menu.h \ + player.h \ + random.h \ + rect.h \ + sfcave.h \ + help.h \ + sfcave_game.h \ + gates_game.h \ + fly_game.h \ + flyterrain.h \ + sound.h \ + terrain.h \ + stringtokenizer.h \ + settings.h \ + starfield.h \ + util.h include ( $(OPIEDIR)/include.pro ) + +!isEmpty( LIBSDL_INC_DIR ) { + INCLUDEPATH = $$LIBSDL_INC_DIR $$INCLUDEPATH +} +!isEmpty( LIBSDL_LIB_DIR ) { + LIBS = -L$$LIBSDL_LIB_DIR $$LIBS +} |