ADD RUNPIPE and RUNTOOL to Javascript examples

This commit is contained in:
William S Fulton 2014-04-19 18:09:52 +01:00
commit ffe4bd8f60

View file

@ -641,17 +641,17 @@ javascript_cpp: $(SRCS) javascript_custom_interpreter
$(CXXSHARED) $(CFLAGS) $(OBJS) $(IOBJS) $(JSDYNAMICLINKING) $(LIBS) $(CPP_DLLIBS) -o $(LIBPREFIX)$(TARGET)$(SO) $(CXXSHARED) $(CFLAGS) $(OBJS) $(IOBJS) $(JSDYNAMICLINKING) $(LIBS) $(CPP_DLLIBS) -o $(LIBPREFIX)$(TARGET)$(SO)
# ----------------------------------------------------------------- # -----------------------------------------------------------------
# Running a javascript example # Running a Javascript example
# ----------------------------------------------------------------- # -----------------------------------------------------------------
javascript_custom_interpreter: javascript_custom_interpreter:
(cd $(ROOT_DIR)/Tools/javascript && $(MAKE) JSENGINE='$(JSENGINE)') (cd $(ROOT_DIR)/Tools/javascript && $(MAKE) JSENGINE='$(JSENGINE)')
javascript_run: javascript_custom_interpreter javascript_run: javascript_custom_interpreter
$(ROOT_DIR)/Tools/javascript/javascript -$(JSENGINE) -L $(TARGET) runme.js $(RUNTOOL) $(ROOT_DIR)/Tools/javascript/javascript -$(JSENGINE) -L $(TARGET) runme.js $(RUNPIPE)
javascript_run_node: javascript_run_node:
$(NODEJS) runme.js $(RUNTOOL) $(NODEJS) runme.js $(RUNPIPE)
# ----------------------------------------------------------------- # -----------------------------------------------------------------
# Version display # Version display
@ -681,7 +681,7 @@ endif
echo "node-gyp: `($(NODEGYP) --version)`" echo "node-gyp: `($(NODEGYP) --version)`"
# ----------------------------------------------------------------- # -----------------------------------------------------------------
# Cleaning the javascript examples # Cleaning the Javascript examples
# ----------------------------------------------------------------- # -----------------------------------------------------------------
javascript_clean: javascript_clean: