script.js: .out/all.js
|
|
cp $< $@
|
|
|
|
TS := $(shell find src/ -type f -name '*.ts' -or -name '*.tsx')
|
|
|
|
.out/all.js: $(TS)
|
|
npm run build
|
|
mv .out/*.js .out/all.js
|