Ensure make
looks at all dependent files
This commit is contained in:
parent
4b6cd309ac
commit
aaddce255a
6
makefile
6
makefile
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user