trickytowers

simple tricky towers clone using matter.js
git clone https://git.ce9e.org/trickytowers.git

commit
7ca90b565ce787f12fdadc85b58476e0ec77c485
parent
c86787f14ff119c98efc64198489796dc0ebc983
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2018-09-16 08:50
add Makefile

Diffstat

A Makefile 17 +++++++++++++++++

1 files changed, 17 insertions, 0 deletions


diff --git a/Makefile b/Makefile

@@ -0,0 +1,17 @@
   -1     1 .PHONY: all
   -1     2 all: docs/build.js docs/index.html
   -1     3 
   -1     4 docs/build.js: towers.js node_modules
   -1     5 	browserify $< -o $@
   -1     6 
   -1     7 docs/index.html: README.md
   -1     8 	echo '<!DOCTYPE html>' > $@
   -1     9 	echo '<meta charset="utf-8" />' >> $@
   -1    10 	echo '<meta name="viewport" content="width=device-width">' >> $@
   -1    11 	echo '<title>Tricky Towers</title>' >> $@
   -1    12 	echo '<style type="text/css">body{margin: 2em auto; max-width: 38em; line-height: 1.5; color: #333; padding: 0 1em} h1, h2, h3 {line-height: 1.2}</style>' >> $@
   -1    13 	pandoc $< >> $@
   -1    14 	echo '<script src="./build.js"></script>' >> $@
   -1    15 
   -1    16 node_modules: package.json
   -1    17 	npm install