Adding Makefile
authorDavid Griffith <dave@661.org>
Fri, 12 Apr 2013 23:20:19 +0000 (16:20 -0700)
committerDavid Griffith <dave@661.org>
Fri, 12 Apr 2013 23:20:19 +0000 (16:20 -0700)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
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