From 861c4749e6b7b3537c71c20451db2338677631da Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 13 Sep 2025 22:12:08 +0100 Subject: [PATCH] Minimal build system and test page for Bedstead-in-WASM Just allows for typing a command line and seeing the output. --- Makefile | 3 +++ webstead.xhtml | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 webstead.xhtml diff --git a/Makefile b/Makefile index fb38014..6e9d205 100644 --- a/Makefile +++ b/Makefile @@ -111,6 +111,9 @@ bedstead-complement.ps: bedstead bedstead-complement.pdf: bedstead-complement.ps bedstead.otf Fontmap ps2pdf -P $< $@ +%.js: %.c + emcc -sMODULARIZE -sEXPORT_ES6 -sEXIT_RUNTIME=1 -sSTRICT -o $@ $< + .PHONY: clean clean: rm -f bedstead *.ttx *.otf *.bdf *.bdf.ps *.png *.pdf \ diff --git a/webstead.xhtml b/webstead.xhtml new file mode 100644 index 0000000..95fa47b --- /dev/null +++ b/webstead.xhtml @@ -0,0 +1,21 @@ + + + + Bedstead editor test + + + +
+ + + +
+ + -- 2.30.2