Commit 770bff98 authored by Kim Nguyễn's avatar Kim Nguyễn
Browse files

.

parent 7fbf7e27
......@@ -329,22 +329,26 @@ cduce_js_runtime.bytecode:
@echo "Build $@"
$(HIDE) $(MAKE) NATIVE=false ML_INTERFACE=false PXP=false EXPAT=false \
CURL=false NETCLIENT=false NETCLIENT4=false NETSTRING=false \
CGI=false PXP_WLEX=false \
CGI=false PXP_WLEX=false\
cduce_js_runtime
$(HIDE) cp cduce_js_runtime cduce_js_runtime.bytecode
#js_of_ocaml +nat.js +weak.js +toplevel.js cduce_js_runtime
cducetop_js_runtime: $(CDUCETOP_JS_RUNTIME)
@echo "Build $@"
$(HIDE) $(MAKE) stdlib
$(HIDE)$(CAMLC) -custom -linkpkg camlp4lib.cma $(INCLUDES) -o $@ $^ $(EXTRA_LINK_OPTS)
cducetop_js_runtime.js:
@echo "Build $@"
$(HIDE) $(MAKE) NATIVE=false ML_INTERFACE=false PXP=false EXPAT=false \
CURL=false NETCLIENT=false NETCLIENT4=false NETSTRING=false \
CGI=false PXP_WLEX=false \
CGI=false PXP_WLEX=false STD_LIBDIR=/static/stdlib/ \
cducetop_js_runtime
$(HIDE) js_of_ocaml +nat.js +weak.js +toplevel.js cducetop_js_runtime
$(HIDE) js_of_ocaml --extern-fs -I . --file=stdlib/List.cdo \
--file=stdlib/Io.cdo \
--file=stdlib/Fmt.cdo \
+nat.js +weak.js +toplevel.js cducetop_js_runtime
.PHONY: compute_depend cduce_js_runtime.bytecode
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment