Signed-off-by: Nagao Takeyuki <nagaotakeyuki@gmail.com>
js=$${file%.jsh}.js ; \
output=build/js/$$js; \
$(PROG_INSTALL) -d build/js && \
- $(PROG_CPP) -I./src/js/include -P -nostdinc $$bundle \
+ $(PROG_CPP) -I./src/js/include -P -nostdinc -x c -o - $$bundle \
| sed -n '/./p' > $$output && \
echo "Wrote output on $$output" \
|| exit 1 ; \
install -d -m 0755 var
if [ ! -f "$CONFIG_FILE" ] ; then
cat > "$CONFIG_FILE" <<EOS
-PROG_CPP=cpp
+PROG_CPP=gcc -E
PROG_INSTALL=install
EOS
else
#define _JDISP_H
#include <jdisp/package.jsh>
+#include <jdisp/lang/package.jsh>
#endif /* _JDISP_H */