From 2bd01edee6dc90bb2ae632508fda18edebc5625e Mon Sep 17 00:00:00 2001 From: Matus Horvath Date: Sun, 17 Mar 2024 14:17:55 +0100 Subject: [PATCH] Support new bin2obj based on wc -c --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c788ab4..b76c613 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ define run-ld endef define run-bin2obj - ls -n $< | awk '{ printf "%s ", $$5 }' | cat - $< | $(ICVM) $(ICBIN2OBJ) > $@ || ( cat $@ ; false ) + wc -c $< | cat - $< | $(ICVM) $(ICBIN2OBJ) > $@ || ( cat $@ ; false ) endef # Build