From c3c3d7c9be7b6ff1c905686bd960877f816962ff Mon Sep 17 00:00:00 2001 From: ar Date: Sat, 01 May 2004 21:43:55 +0000 Subject: - use lib and inlcude dir from dependencies before the other dir's --- (limited to 'noncore/games') 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 +} -- cgit v0.9.0.2