X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=7521a434dce61e7bd7b45c9d0b50392c5b93947d;hb=580f409ee63779f79494188db3afdd0f455d9a6d;hp=6e245490d4b5306dafed340dd5e66962bec6a898;hpb=289f72e078591f96452d17051cf712c49e5ac523;p=open-adventure.git diff --git a/Makefile b/Makefile index 6e24549..7521a43 100644 --- a/Makefile +++ b/Makefile @@ -1,99 +1,85 @@ # 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: (C) 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