glasshouse/makefile

16 lines
326 B
Makefile
Raw Normal View History

2024-02-11 01:40:40 +00:00
.PHONY: watch
2024-02-13 03:04:07 +00:00
default: bin/rewild.hl
2024-02-12 19:47:53 +00:00
2024-02-13 03:04:07 +00:00
bin/rewild.hl: **/*.hx
haxe compile-hl.hxml
bin/rewild.js: **/*.hx
haxe compile-js.hxml
2024-02-11 01:40:40 +00:00
2024-02-12 19:47:53 +00:00
clean:
2024-02-13 03:04:07 +00:00
rm -f bin/rewild.hl bin/rewild.js
2024-02-12 19:47:53 +00:00
2024-02-11 01:40:40 +00:00
watch:
@inotifywait --recursive --monitor --event modify,move,create,delete --include '.*.hx$$' ./ | while read changed; do echo $$changed; make; done