-
Notifications
You must be signed in to change notification settings - Fork 43
/
Rules.make.macosx
47 lines (37 loc) · 992 Bytes
/
Rules.make.macosx
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
VERSION := 3.5.2
DESTDIR=
BIN=
DATAPATH=__private__
STEADPATH=$(DATAPATH)/stead
THEMESPATH=$(DATAPATH)/themes
GAMESPATH=$(DATAPATH)/games
ICONPATH=$(DATAPATH)/icon
LANGPATH=$(DATAPATH)/lang
DOCPATH=
MANPATH=
SYSTEMSETUP=no
ZLIB_CFLAGS=
ZLIB_LFLAGS=-lz
LUA_CFLAGS=$(shell pkg-config --cflags lua5.1)
LUA_LFLAGS=$(shell pkg-config --libs lua5.1)
# for arch linux, fedora (may be others) use this
#
# LUA_CFLAGS=$(shell pkg-config --cflags lua)
# LUA_LFLAGS=$(shell pkg-config --libs lua)
#
SDL_CFLAGS=$(shell sdl2-config --cflags)
SDL_LFLAGS=$(shell sdl2-config --libs) -lSDL2_ttf -lSDL2_mixer -lSDL2_image
CFLAGS += -Wall -Dunix -D_USE_UNPACK -D_USE_BROWSE
INSTALLD=echo "Do not install standalone version!"
INSTALLB=echo "Do not install standalone version!"
INSTALL=echo "Do not install standalone version!"
LN=echo "Do not install standalone version!"
EXE=
PLATFORM=macosx.m
ADDOBJ=macosx.o
macosx.o : macosx.m
$(CC) -c $(<) $(I) $(CFLAGS)
RESOURCES=
RM=rm
AR=ar rc
RANLIB=ranlib