Blame view

build3/build/targets.emscripten.mak 504 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  epsilon.packed.js: LDFLAGS += --memory-init-file 0
  epsilon.packed.js: $(app_objs) $(app_image_objs)
  
  simulator.zip: epsilon.packed.js
  	@rm -rf $(basename $@)
  	@mkdir $(basename $@)
  	@cp epsilon.packed.js $(basename $@)/epsilon.js
  	@cp ion/src/emscripten/background.jpg $(basename $@)/
  	@cp ion/src/emscripten/simulator.html $(basename $@)/
  	@echo "ZIP     $@"
  	@zip -r -9 $@ $(basename $@) > /dev/null
  	@rm -rf $(basename $@)
  
  products += $(addprefix epsilon,.js .js.mem) epsilon.packed.js simulator.zip