d8c400de583e62e06c42487315345bd092fd5548
[rocksndiamonds.git] / Makefile
1 #=============================================================================#
2 # Makefile for Rocks'n'Diamonds 1.4.0                                         #
3 # (c) 1995-1999 Holger Schemel, aeglos@valinor.owl.de                         #
4 #=============================================================================#
5
6 #-----------------------------------------------------------------------------#
7 # configuration section                                                       #
8 #-----------------------------------------------------------------------------#
9
10 # specify your favorite ANSI C compiler
11 CC = gcc
12
13 # explicitely choose your platform, if defaults doesn't work right
14 # needed for SUN/Solaris; Linux and DOS work fine with auto detection
15 # PLATFORM = solaris
16 # PLATFORM = unix
17 # PLATFORM = dos
18
19 # specify path to X11 on your system
20 # if undefined, use system defaults (works with Linux/gcc/libc5)
21 X11_PATH = /usr/X11
22
23 # specify directory for read-only game data (like graphics, sounds, levels)
24 # default is '.', so you can play without installing game data somewhere
25 # RO_GAME_DIR = /usr/games
26
27 # specify directory for writable game data (like highscore files)
28 # default is '.', so you can play without installing game data somewhere
29 # RW_GAME_DIR = /var/games
30
31 # uncomment this if your system has no joystick include file
32 # JOYSTICK = -DNO_JOYSTICK
33
34 # uncomment this if your system has no sound
35 # SOUNDS = -DNO_SOUNDS
36
37 # choose if you want to allow many global score file entries for one player
38 # default is 'MANY_PER_NAME'
39 # when installing the game in a multi user environment, choose this
40 # SCORE_ENTRIES = ONE_PER_NAME
41 # when installing the game in a single user environment, choose this
42 # SCORE_ENTRIES = MANY_PER_NAME
43
44 #-----------------------------------------------------------------------------#
45 # you should not need to change anything below                                #
46 #-----------------------------------------------------------------------------#
47
48 .EXPORT_ALL_VARIABLES:
49
50 MAKE = make
51
52 SRC_DIR = src
53 MAKE_CMD = @$(MAKE) -C $(SRC_DIR)
54
55 all:
56         $(MAKE_CMD)
57
58 solaris:
59         $(MAKE_CMD) PLATFORM=solaris
60
61 clean:
62         $(MAKE_CMD) clean