Ensure `make` looks at all dependent files

This commit is contained in:
3wc 2024-02-13 13:46:43 -03:00
parent 4b6cd309ac
commit aaddce255a
1 changed files with 4 additions and 2 deletions

View File

@ -2,10 +2,12 @@
default: bin/rewild.hl
bin/rewild.hl: **/*.hx
SOURCES := $(shell find . -name \*.hx -print)
bin/rewild.hl: $(SOURCES)
haxe compile-hl.hxml
bin/rewild.js: **/*.hx
bin/rewild.js: $(SOURCES)
haxe compile-js.hxml
clean: