forked from instead-hub/instead
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRules.make.system
43 lines (35 loc) · 909 Bytes
/
Rules.make.system
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
VERSION := 3.5.0
PREFIX=/usr/local
DESTDIR=
BIN=$(PREFIX)/bin/
DATAPATH=$(PREFIX)/share/instead
STEADPATH=$(DATAPATH)/stead
THEMESPATH=$(DATAPATH)/themes
GAMESPATH=$(DATAPATH)/games
ICONPATH=$(PREFIX)/share/pixmaps
DOCPATH=$(PREFIX)/share/doc/instead
LANGPATH=$(DATAPATH)/lang
MANPATH=$(PREFIX)/share/man/man6
SYSTEMSETUP=yes
ZLIB_CFLAGS=
ZLIB_LFLAGS=-lz
LUA_CFLAGS=$(shell pkg-config --cflags lua5.1)
LUA_LFLAGS=$(shell pkg-config --libs lua5.1)
# for arch and gentoo linux 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 -lm
CFLAGS += -Wall -Dunix -D_USE_UNPACK # -D_SDL_MOD_BUG
INSTALLD=install -d -m 0755
INSTALLB=install -m 0755
INSTALL=install -m 0644
LN=ln -sf
EXE=
PLATFORM=unix.c
RESOURCES=
RM=rm
AR=ar rc
RANLIB=ranlib