Adding script load.
Still need to enhance to support script src.
This commit is contained in:
9
Makefile
9
Makefile
@ -346,7 +346,11 @@ $(RES)/ueforth_res64.res: windows/ueforth.rc $(RES)/eforth.ico
|
||||
# ---- WEB ----
|
||||
|
||||
web: web_target web_tests
|
||||
web_target: $(WEB)/terminal.html $(WEB)/lazy_terminal.html $(WEB)/ueforth.js
|
||||
web_target: \
|
||||
$(WEB)/terminal.html \
|
||||
$(WEB)/lazy_terminal.html \
|
||||
$(WEB)/script_test.html \
|
||||
$(WEB)/ueforth.js
|
||||
|
||||
$(WEB):
|
||||
mkdir -p $(WEB)
|
||||
@ -357,6 +361,9 @@ $(WEB)/terminal.html: web/terminal.html | $(WEB)
|
||||
$(WEB)/lazy_terminal.html: web/lazy_terminal.html | $(WEB)
|
||||
cp $< $@
|
||||
|
||||
$(WEB)/script_test.html: web/script_test.html | $(WEB)
|
||||
cp $< $@
|
||||
|
||||
$(WEB)/ueforth.js: \
|
||||
web/fuse_web.js \
|
||||
web/web.template.js \
|
||||
|
||||
Reference in New Issue
Block a user