summaryrefslogtreecommitdiff
path: root/unrpyc
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-08-15 13:47:21 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-08-15 13:47:21 -0400
commitaf559cdbca0683c1c513d42c5b5254e1e9efd436 (patch)
tree6255d9518f60f93da146f6ca532aece227e4e09c /unrpyc
parent4acddaff97ce6afb28086f4ce93afffceebd4f53 (diff)
downloadhtml5ks-af559cdbca0683c1c513d42c5b5254e1e9efd436.tar.xz
html5ks-af559cdbca0683c1c513d42c5b5254e1e9efd436.zip
stuff
Diffstat (limited to 'unrpyc')
-rw-r--r--unrpyc/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/unrpyc/Makefile b/unrpyc/Makefile
index 9566bea..b8ad495 100644
--- a/unrpyc/Makefile
+++ b/unrpyc/Makefile
@@ -1,22 +1,20 @@
-all: script.json.gz imachine.json.gz
-
-imachine.json.gz: imachine.json
+all: script.json.gz imachine.json.gz imachine_replay.json.gz
%.json.gz: %.json
gzip -9c $< > $@
touch $< $@
-script.json: $(patsubst %.rpyc,%.json,$(wildcard *.rpyc))
+script.json: $(patsubst %.rpyc,%.json,$(wildcard script-*.rpyc))
cat script-*.json > script.json
sed -i -e 's/^/{/;s/,$$/}/' script.json
+%.json: %.json.o
+ node fix.js $< $@
+
%.json.o: %.rpyc *.py
python unrpyc.py --clobber $< $@
-imachine.json: imachine.json.o
- node fix.js $< $@
-
-%.json: %.json.o
+script-%.json: script-%.json.o
node fix.js $< $@
sed -i -e 's/^{//;s/}$$/,/' $@
@@ -30,4 +28,3 @@ install: all
install -t ../www/scripts script.json script.json.gz imachine.json imachine.json.gz
.PHONY: all clean test install
-.PRECIOUS: imachine.json.o