9f96b49b63
- Take maintainership. - Remove USE_XLIB (it only requires SDL). - Build 2 binaries, one for the full game and other for the shareware version. - Expand pkg-descr and pkg-message to reflect the previous change. - Replace -O2 and higher in CFLAGS by -O1 (crashes otherwise). - Convert a line-specific REINPLACE_CMD into a patch.
13 lines
281 B
Makefile
13 lines
281 B
Makefile
# Makefile wrapper for building both full and shareware versions.
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
all: rott rott-sw
|
|
$(MAKE) -C rott
|
|
$(MAKE) -C rott-sw
|
|
|
|
rott-sw:
|
|
cp -r rott rott-sw
|
|
sed -i '' -Ee 's|(SHAREWARE) *0|\1 1|' rott-sw/develop.h
|
|
sed -i '' -Ee 's|(SUPERROTT) *1|\1 1|' rott/develop.h
|