mirror of
https://github.com/remko/waforth
synced 2025-01-18 22:26:39 +01:00
fix hexdump output
This commit is contained in:
parent
0befe565ab
commit
d78f6ff81f
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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 \
|
||||
|
|
Loading…
Reference in a new issue