Make HTML5 work again

This commit is contained in:
2024-02-13 00:04:25 -03:00
parent 51d10f430f
commit 1d8222a395
5 changed files with 16 additions and 7 deletions
+1 -1
View File
@@ -1 +1 @@
**/*.hl
/bin/*
-2
View File
@@ -1,8 +1,6 @@
-cp src
--macro Init.setup()
-lib heaps
-lib hlsdl
-lib hxyarn
-hl rewild.hl
-main Main
-lib domkit
+5
View File
@@ -0,0 +1,5 @@
compile-common.hxml
-D windowTitle=StoneInAGlasshouse
-lib hlsdl
-hl bin/rewild.hl
+3
View File
@@ -0,0 +1,3 @@
compile-common.hxml
-js bin/rewild.js
+7 -4
View File
@@ -1,12 +1,15 @@
.PHONY: watch
default: rewild.hl
default: bin/rewild.hl
rewild.hl: **/*.hx
haxe compile.hxml
bin/rewild.hl: **/*.hx
haxe compile-hl.hxml
bin/rewild.js: **/*.hx
haxe compile-js.hxml
clean:
rm rewild.hl
rm -f bin/rewild.hl bin/rewild.js
watch:
@inotifywait --recursive --monitor --event modify,move,create,delete --include '.*.hx$$' ./ | while read changed; do echo $$changed; make; done