X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=38139dec2f89210d7860dc927ddfa022a7d25eff;hb=dfff80faa8b5cf4cd286fee2d1ef5eebcdb49829;hp=6de87891d419cfe03bcc205e5a4548b05290b0f0;hpb=d587a5951b7c8ca3bab53a06d5d99b0017da9440;p=open-adventure.git diff --git a/Makefile b/Makefile index 6de8789..38139de 100644 --- a/Makefile +++ b/Makefile @@ -1,85 +1,76 @@ # 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