Rename binaries

This commit is contained in:
3wc 2024-02-22 14:39:58 -03:00
parent d308ce7231
commit e375d0028e
2 changed files with 6 additions and 6 deletions

View File

@ -2,4 +2,4 @@ compile-common.hxml
-D windowTitle=StoneInAGlasshouse -D windowTitle=StoneInAGlasshouse
-lib hlsdl -lib hlsdl
-hl bin/rewild.hl -hl bin/glasshouse.hl

View File

@ -1,23 +1,23 @@
.PHONY: watch run .PHONY: watch run
default: bin/rewild.hl default: bin/glasshouse.hl
SOURCES := $(shell find . -name \*.hx -print) SOURCES := $(shell find . -name \*.hx -print)
bin/rewild.hl: $(SOURCES) bin/glasshouse.hl: $(SOURCES)
haxe compile-hl.hxml haxe compile-hl.hxml
bin/rewild.js: $(SOURCES) bin/glasshouse.js: $(SOURCES)
haxe compile-js.hxml haxe compile-js.hxml
debug: $(SOURCES) debug: $(SOURCES)
haxe --debug compile-hl.hxml haxe --debug compile-hl.hxml
clean: clean:
rm -f bin/rewild.hl bin/rewild.js rm -f bin/glasshouse.hl bin/glasshouse.js
watch: watch:
@inotifywait --recursive --monitor --event modify,move,create,delete --include '.*.hx$$' ./ | while read changed; do echo $$changed; make debug; done @inotifywait --recursive --monitor --event modify,move,create,delete --include '.*.hx$$' ./ | while read changed; do echo $$changed; make debug; done
run: run:
hl bin/rewild.hl hl bin/glasshouse.hl