From d3d40341c4ffbc1954e78d265c3df5d99c2e7e56 Mon Sep 17 00:00:00 2001 From: David Griffith Date: Fri, 12 Apr 2013 16:20:19 -0700 Subject: [PATCH] Adding Makefile --- Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6364a58 --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +VERSION = r7 +BINNAME = kitten +EXTENSION = .z5 + +INFORM = inform +PERL = perl + +DISTNAME = $(BINNAME)-$(VERSION) +DISTDIR = $(DISTNAME) + +$(BINNAME): nki + $(INFORM) $(BINNAME).inf + +nki: + $(PERL) nki2inf.pl *.nki > nki.inf + +clean: + rm -f *core *sav *$(EXTENSION) nki.inf + +distclean: clean + rm -rf $(DISTDIR) + rm -f $(DISTDIR).tar $(DISTDIR).tar.gz -- 2.31.1