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

View File

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