This repository has been archived on 2019-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
adventin/Rules.make.system

44 lines
950 B
Plaintext
Raw Normal View History

VERSION := 1.4.6
2009-02-21 12:52:44 +02:00
2009-08-30 22:58:55 +03:00
PREFIX=/usr/local
DESTDIR=
BIN=$(DESTDIR)$(PREFIX)/bin/
2010-06-08 15:01:00 +03:00
DATAPATH=$(DESTDIR)$(PREFIX)/share/instead
STEADPATH=$(DATAPATH)/stead
THEMESPATH=$(DATAPATH)/themes
GAMESPATH=$(DATAPATH)/games
2009-08-31 07:49:20 +03:00
ICONPATH=$(DESTDIR)$(PREFIX)/share/pixmaps
2009-08-31 07:52:45 +03:00
DOCPATH=$(DESTDIR)$(PREFIX)/share/doc/instead
2011-03-07 15:39:06 +02:00
LANGPATH=$(DATAPATH)/lang
2009-09-15 13:06:58 +03:00
MANPATH=$(DESTDIR)$(PREFIX)/share/man/man6
2009-09-23 07:21:24 +03:00
SYSTEMSETUP=yes
2009-02-21 12:52:44 +02:00
2010-06-01 21:41:30 +03:00
ZLIB_CFLAGS=
ZLIB_LFLAGS=-lz
2009-02-21 12:52:44 +02:00
LUA_CFLAGS=$(shell pkg-config --cflags lua5.1)
LUA_LFLAGS=$(shell pkg-config --libs lua5.1)
2009-02-21 12:56:19 +02:00
# for arch and gentoo linux use this
2009-02-21 12:52:44 +02:00
#
# LUA_CFLAGS=$(shell pkg-config --cflags lua)
# LUA_LFLAGS=$(shell pkg-config --libs lua)
#
SDL_CFLAGS=$(shell sdl-config --cflags)
SDL_LFLAGS=$(shell sdl-config --libs) -lSDL_ttf -lSDL_mixer -lSDL_image
2010-07-24 20:51:08 +03:00
CFLAGS += -Wall -Dunix -D_USE_UNPACK # -D_SDL_MOD_BUG
2009-02-21 12:52:44 +02:00
INSTALLD=install -d -m 0755
2009-09-23 07:21:24 +03:00
INSTALLB=install -m 0755
INSTALL=install -m 0644
2010-10-09 15:09:26 +03:00
LN=ln -sf
2009-09-23 07:21:24 +03:00
2009-08-26 08:25:53 +03:00
EXE=
PLATFORM=unix.c
RESOURCES=
2009-09-23 07:21:24 +03:00
RM=rm
2010-06-01 14:23:31 +03:00
AR=ar rc
RANLIB=ranlib