shithub: MicroHs

Download patch

ref: 05e0bf35cea9336232d5d4cf525012337016788a
parent: 71ce981d220d084afe56f1548953b8742ca49ba4
author: Lennart Augustsson <lennart.augustsson@epicgames.com>
date: Mon Nov 27 10:54:01 EST 2023

Dependeny fixes.

--- a/Makefile.windows
+++ b/Makefile.windows
@@ -13,7 +13,7 @@
 	@-mkdir bin
 	cl /O2 src/runtime/eval-windows-64.c src/runtime/comb.c /Febin/mhseval.exe
 
-exampletest:	bin/mhs bin/mhseval Example.hs
+exampletest:	bin/mhs.exe bin/mhseval.exe Example.hs
 	bin/mhs -r Example
 	bin/mhs Example && bin/mhseval
-#	bin/mhs Example -oEx && ./Ex && rm Ex
+#	bin/mhs Example -oEx.exe && ./Ex && rm Ex.exe
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -11,7 +11,7 @@
 
 test:
 	$(TMHS) Hello      && $(EVAL) > Hello.out      && diff Hello.ref Hello.out
-	$(TMHS) IOTest && (echo q | $(EVAL) a bb ccc | sed 's/^.ms/1ms/' > IOTest.out) && diff IOTest.ref IOTest.out
+	$(TMHS) IOTest && (echo q | $(EVAL) a bb ccc | sed 's/^[0-9]*ms/1ms/' > IOTest.out) && diff IOTest.ref IOTest.out
 	$(TMHS) StringTest && $(EVAL) > StringTest.out && diff StringTest.ref StringTest.out
 	$(TMHS) ListTest   && $(EVAL) > ListTest.out   && diff ListTest.ref ListTest.out
 	$(TMHS) Fac        && $(EVAL) > Fac.out        && diff Fac.ref Fac.out
--