From 229633cd481c240352102192d671e4f7990fc719 Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Sun, 9 Jan 2022 19:52:04 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20Makefiles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 12 ++++++++++++ lib/.gitignore | 3 +++ lib/Makefile | 15 +++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 Makefile create mode 100644 lib/.gitignore create mode 100644 lib/Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a905a79 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +.PHONY: default + +default: remontel.ulx + +remontel.ulx: remontel.inf Rooms.inf lib/Parser.h lib/VerbLib.h lib/Grammar.h + inform -G +include_path=,lib remontel.inf + +remontel.z5: remontel.inf Rooms.inf lib/Parser.h lib/VerbLib.h lib/Grammar.h + inform +include_path=,lib remontel.inf + +lib/Parser.h lib/VerbLib.h lib/Grammar.h: + $(MAKE) -C lib Parser.h diff --git a/lib/.gitignore b/lib/.gitignore new file mode 100644 index 0000000..a0991ff --- /dev/null +++ b/lib/.gitignore @@ -0,0 +1,3 @@ +* +!.gitignore +!Makefile diff --git a/lib/Makefile b/lib/Makefile new file mode 100644 index 0000000..ca62c1b --- /dev/null +++ b/lib/Makefile @@ -0,0 +1,15 @@ +.PHONY: default + +default: Parser.h + +parser.h grammar.h verblib.h: + wget https://ifarchive.org/if-archive/infocom/compilers/inform6/library/inform6lib-6.12.5.zip + unzip -u -j inform6lib-6.12.5.zip + rm -v inform6lib-6.12.5.zip + +Parser.h Grammar.h VerbLib.h: parser.h grammar.h verblib.h + ln -s parser.h Parser.h + ln -s grammar.h Grammar.h + ln -s verblib.h VerbLib.h + ln -s english.h English.h + ln -s version.h Version.h