X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=eebc68c93fe52ac3215b429fe89f8ec21f0bff56;hb=12d39ef72b25fc8137818718782934e01da88c9c;hp=b0b06b95c7f24896df0d99cafd81848fcbc9c88b;hpb=a3485d2a41ae0360177c8b475972610025aec8f3;p=open-adventure.git diff --git a/Makefile b/Makefile index b0b06b9..eebc68c 100644 --- a/Makefile +++ b/Makefile @@ -1,88 +1,78 @@ # Makefile for the open-source release of adventure 2.5 -# Note: If you're building from the repository rather than the source tarball, -# do this to get the linenoise library where you can use it: -# -# git submodule update --recursive --remote --init -# -# Therafter, you can update it like this: -# -# git submodule update --recursive --remote -# -# but this should seldom be necessary as that library is pretty stable. -# -# You will also need Python 3 YAML. Under Debian or ubuntu: -# -# apt-get install python3-yaml -# -# If you have pip installed, -# -# pip3 install PyYAML -# -# If you are using MacPorts on OS X: -# port install py3{5,6}-yaml as appropriate for your Python 3 version. - -VERS=1.0 +# To build with save/resume disabled, pass CFLAGS="-DADVENT_NOSAVE" +# To build with auto-save/resume enabled, pass CFLAGS="-D ADVENT_AUTOSAVE" + +VERS=$(shell sed -n