Build in debug mode

This commit is contained in:
3wc 2024-02-14 00:21:23 -03:00
parent 87302a3713
commit 477b57e2a7

View File

@ -10,8 +10,11 @@ bin/rewild.hl: $(SOURCES)
bin/rewild.js: $(SOURCES) bin/rewild.js: $(SOURCES)
haxe compile-js.hxml haxe compile-js.hxml
debug: $(SOURCES)
haxe --debug compile-hl.hxml
clean: clean:
rm -f bin/rewild.hl bin/rewild.js 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 debug; done