From d78f6ff81f8303438d582ecd1443bf2117ba1cb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 23 Apr 2022 12:09:28 +0200 Subject: [PATCH] fix hexdump output --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 78c2b7a..ffc784b 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ scripts/word.wasm: scripts/word.wat $(WAT2WASM) $(WAT2WASM_FLAGS) -o $@ $< scripts/word.wasm.hex: scripts/word.wasm - hexdump -v -e '16/1 "_u%04X" "\n"' $< | sed 's/_/\\/g; s/\\u //g; s/.*/ "&"/' > $@ + hexdump -v -e '16/1 "_%02X" "\n"' $< | sed 's/_/\\/g; s/\\u //g; s/.*/ "&"/' > $@ clean: -rm -rf $(WASM_FILES) scripts/word.wasm scripts/word.wasm.hex src/waforth.wat.tmp \