2 include ./var/config.mk
5 @for bundle in $$(find ./src/js/bundle -name '*.jsh') ; do \
6 echo "Building bundle $$bundle" ;\
7 file=$$(basename $$bundle) ; \
8 js=$${file%.jsh}.js ; \
9 output=build/js/$$js; \
10 $(PROG_INSTALL) -d build/js && \
11 $(PROG_CPP) -I./src/js/include -P -nostdinc $$bundle \
12 | sed -n '/./p' > $$output && \
13 echo "Wrote output on $$output" \