diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-26 09:47:03 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-26 09:47:03 +0100 |
commit | 1bfe93eea7faffbe59af0b5c2c0f6aa6889527e4 (patch) | |
tree | 398f95e119baae26d2f6fd4acc10af96daa6625d /Makefile | |
parent | a651d28999accf0c18476b322a47ea5ebf031aef (diff) | |
parent | 99a6ff8112bbc47d6c2825c36328aa40c5c99384 (diff) | |
download | 1989-dawn-of-freedom-1bfe93eea7faffbe59af0b5c2c0f6aa6889527e4.tar.gz |
Merge branch 'work-in-progress' of https://github.com/iainp5/1989-Dawn-of-Freedom into work-in-progress
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..daa5c21 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +default: rules.js play.js +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 +play.js: tools/layout.svg + sed '/var LAYOUT /,$$d' < play.js > /tmp/play.js + node tools/genlayout.js >> /tmp/play.js + cp /tmp/play.js play.js |