3e80fafdb06b61c2b2bce6eb92d065fda7deb568
[rocksndiamonds.git] / Makefile
1 #=============================================================================#
2 # Makefile for Rocks'n'Diamonds 1.2                                           #
3 # (c) 1995-98 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 fine with Linux/gcc)
21 # X11_PATH = /usr/X11
22
23 # specify path to install game data (graphics, sounds, levels, scores)
24 # default is '.', so you can play without installing game data somewhere
25 # GAME_DIR = /usr/local/games
26
27 # uncomment this if your system has no joystick include file
28 # JOYSTICK = -DNO_JOYSTICK
29
30 # uncomment this if your system has no sound
31 # SOUNDS = -DNO_SOUNDS
32
33 # choose if you want to allow many global score file entries for one player
34 # default is 'MANY_PER_NAME'
35 # when installing the game in a multi user environment, choose this
36 # SCORE_ENTRIES = ONE_PER_NAME
37 # when installing the game in a single user environment, choose this
38 # SCORE_ENTRIES = MANY_PER_NAME
39
40 #-----------------------------------------------------------------------------#
41 # you should not need to change anything below                                #
42 #-----------------------------------------------------------------------------#
43
44 .EXPORT_ALL_VARIABLES:
45
46 MAKE = make
47
48 SRC_DIR = src
49 MAKE_CMD = @$(MAKE) -C $(SRC_DIR)
50
51
52 all:
53         $(MAKE_CMD)
54
55 solaris:
56         $(MAKE_CMD) PLATFORM=solaris
57
58 clean:
59         $(MAKE_CMD) clean