shithub: MicroHs

Download patch

ref: 70ce3fe80e78c41590f8cd79d98d447c06f8c448
parent: 643636103de5138fbabd8513e7fec538a456d799
author: Lennart Augustsson <lennart@augustsson.net>
date: Wed Oct 11 08:30:09 EDT 2023

Update for new tools

--- a/Makefile
+++ b/Makefile
@@ -150,10 +150,11 @@
 ###
 ### Make an eval.c that contains the combinator code.
 ###
-tmp/eval.c: src/runtime/eval.c $(BIN)/eval $(COMB)$(MHS).comb 
+tmp/eval.c: src/runtime/eval.c $(EVAL) $(COMB)$(MHS).comb 
 	@mkdir -p tmp
 	cp src/runtime/eval.c tmp/eval.c
-	$(BIN)/eval +RTS -K10M -r$(COMB)$(MHS).comb -RTS -ilib -iTools -r Addcombs -- $(COMB)$(MHS).comb >> tmp/eval.c
+	$(EVAL) +RTS -K10M -r$(COMB)$(MHS).comb -RTS -ilib -iTools -r Compress < $(COMB)$(MHS).comb | \
+	$(EVAL) +RTS -K10M -r$(COMB)$(MHS).comb -RTS -ilib -iTools -r Addcombs >> tmp/eval.c
 
 ###
 ### Make an executable that contains the combinator code.
--