Make HTML5 work again
This commit is contained in:
parent
51d10f430f
commit
1d8222a395
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
**/*.hl
|
/bin/*
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
-cp src
|
-cp src
|
||||||
--macro Init.setup()
|
--macro Init.setup()
|
||||||
-lib heaps
|
-lib heaps
|
||||||
-lib hlsdl
|
|
||||||
-lib hxyarn
|
-lib hxyarn
|
||||||
-hl rewild.hl
|
|
||||||
-main Main
|
-main Main
|
||||||
-lib domkit
|
-lib domkit
|
5
compile-hl.hxml
Normal file
5
compile-hl.hxml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
compile-common.hxml
|
||||||
|
|
||||||
|
-D windowTitle=StoneInAGlasshouse
|
||||||
|
-lib hlsdl
|
||||||
|
-hl bin/rewild.hl
|
3
compile-js.hxml
Normal file
3
compile-js.hxml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
compile-common.hxml
|
||||||
|
|
||||||
|
-js bin/rewild.js
|
11
makefile
11
makefile
@ -1,12 +1,15 @@
|
|||||||
.PHONY: watch
|
.PHONY: watch
|
||||||
|
|
||||||
default: rewild.hl
|
default: bin/rewild.hl
|
||||||
|
|
||||||
rewild.hl: **/*.hx
|
bin/rewild.hl: **/*.hx
|
||||||
haxe compile.hxml
|
haxe compile-hl.hxml
|
||||||
|
|
||||||
|
bin/rewild.js: **/*.hx
|
||||||
|
haxe compile-js.hxml
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm rewild.hl
|
rm -f bin/rewild.hl bin/rewild.js
|
||||||
|
|
||||||
watch:
|
watch:
|
||||||
@inotifywait --recursive --monitor --event modify,move,create,delete --include '.*.hx$$' ./ | while read changed; do echo $$changed; make; done
|
@inotifywait --recursive --monitor --event modify,move,create,delete --include '.*.hx$$' ./ | while read changed; do echo $$changed; make; done
|
||||||
|
Loading…
Reference in New Issue
Block a user