aboutsummaryrefslogtreecommitdiffstats
path: root/games/uhexen2/files/Makefile
blob: 7c9479a04e158eb0f16c1f7f6c1fd65783b84a1b (plain) (blame)
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
# GNU Makefile wrapper for games/uhexen2.
# The source tree does not have a main Makefile.
#
# $FreeBSD$
#

all:
ifeq ($(BUILD_HEXEN2),yes)
    $(MAKE) -C engine/hexen2 h2 clean
    $(MAKE) -C engine/hexen2 glh2 clean
endif
ifeq ($(BUILD_HW),yes)
    $(MAKE) -C engine/hexenworld/server hwsv clean
    $(MAKE) -C engine/hexenworld/client hw localclean
    $(MAKE) -C engine/hexenworld/client glhw localclean
    $(MAKE) -C hw_utils/hwmaster hwmaster clean
endif
ifeq ($(BUILD_LAUNCHER_GTK1),yes)
    $(MAKE) -C launcher GTK1=yes
    cd launcher && mv h2launcher h2launcher.gtk1
    $(MAKE) -C launcher clean
endif
ifeq ($(BUILD_LAUNCHER_GTK2),yes)
    $(MAKE) -C launcher
    cd launcher && mv h2launcher h2launcher.gtk2
    $(MAKE) -C launcher clean
endif
ifeq ($(BUILD_LAUNCHER_GTK3),yes)
    $(MAKE) -C launcher GTK3=yes
    cd launcher && mv h2launcher h2launcher.gtk3
    $(MAKE) -C launcher clean
endif