summaryrefslogtreecommitdiff
path: root/noncore/games/sfcave-sdl/sfcave-sdl.pro
blob: a2f668296b9e64af4201f4d6e0371eddf0f5fcaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
TEMPLATE    = app
CONFIG      += qt warn_on
DESTDIR     = $(OPIEDIR)/bin
TARGET      = sfcave-sdl

DEFINES = _REENTRANT main=SDL_main

INCLUDEPATH += $(OPIEDIR)/include
INCLUDEPATH += $(OPIEDIR)/include/SDL
DEPENDPATH  += $(OPIEDIR)/include

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

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
}