X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=5d306b08354799ce7965ad966195b941635c3bac;hb=e1a528a4c56a5d0e233088ec71badeaaceebba90;hp=b8582d5d66c1f34df008d45634ea9ea88897a123;hpb=5697a8de631b29f5b7b34a876be06d6ace0921bc;p=open-adventure.git diff --git a/Makefile b/Makefile index b8582d5..5d306b0 100644 --- a/Makefile +++ b/Makefile @@ -1,50 +1,36 @@ # 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: 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