Add a very simple incremental Makefile target
This commit is contained in:
parent
cacd51e2fe
commit
29b6f8c875
1 changed files with 11 additions and 0 deletions
11
Makefile
11
Makefile
|
|
@ -15,6 +15,17 @@ build: pre_build
|
||||||
./Makefile.dryice.js demo
|
./Makefile.dryice.js demo
|
||||||
./Makefile.dryice.js bm
|
./Makefile.dryice.js bm
|
||||||
|
|
||||||
|
# Minimal build: call Makefile.dryice.js only if our sources changed
|
||||||
|
minimal: pre_build build/src/ace.js
|
||||||
|
|
||||||
|
build/src/ace.js : ${wildcard lib/*} \
|
||||||
|
${wildcard lib/*/*} \
|
||||||
|
${wildcard lib/*/*/*} \
|
||||||
|
${wildcard lib/*/*/*/*} \
|
||||||
|
${wildcard lib/*/*/*/*/*} \
|
||||||
|
${wildcard lib/*/*/*/*/*/*}
|
||||||
|
./Makefile.dryice.js
|
||||||
|
|
||||||
doc:
|
doc:
|
||||||
cd doc;\
|
cd doc;\
|
||||||
(test -d node_modules && npm update) || npm install;\
|
(test -d node_modules && npm update) || npm install;\
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue