diff options
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
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 |