X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=dfd3ff29878d73bc43445d104f8ae0e04e0d9a80;hb=2582e240bd504307b206a384008adb4dd545eb19;hp=f1e51f366f24106e6ef191d4b81c06b1ec4e0852;hpb=a4341923730d5c04d959acc76244d44ba0c4027f;p=open-adventure.git diff --git a/Makefile b/Makefile index f1e51f3..dfd3ff2 100644 --- a/Makefile +++ b/Makefile @@ -1,87 +1,60 @@ # 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. -# -# To build with save/resume disabled, pass CCFLAGS="-D ADVENT_NOSAVE" +# SPDX-FileCopyrightText: Copyright Eric S. Raymond +# SPDX-License-Identifier: BSD-2-Clause -.PHONY: debug indent release refresh dist linty html clean +# To build with save/resume disabled, pass CFLAGS="-DADVENT_NOSAVE" +# To build with auto-save/resume enabled, pass CFLAGS="-DADVENT_AUTOSAVE" + +VERS=$(shell sed -n