From c839704fed8ab20b813005824ef4c61c1eeed7b2 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 9 Apr 2023 01:33:39 +0200 Subject: Add Makefile! --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d85f06f --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +default: data.js rules.js +data.js: tools/gendata.js + node tools/gendata.js +default rules.js: events.txt + sed '/const CODE /,$$d' < rules.js > /tmp/rules.js + node tools/gencode.js >> /tmp/rules.js + cp /tmp/rules.js rules.js -- cgit v1.2.3