From 8a2bb63dbfe449c88979978df57d76cd3319a7d6 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Fri, 28 Feb 2025 11:59:41 +0200 Subject: [PATCH] Add shorter ways to test code --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 2875e52..ad29ce7 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,12 @@ libtest.a: libtest.c ${CC} -fPIC -c libtest.c ar rcs libtest.a libtest.o +test-script: libtest.so + SCHEME=${SCHEME} script-r7rs -I . test.scm + +test-compile: libtest.so libtest.a + SCHEME=${SCHEME} compile-r7rs -I . test.scm && ./test + CHIBI=chibi-scheme -A . test-chibi-docker: docker build -f Dockerfile --build-arg SCHEME=chibi --tag=r7rs-pffi-chibi .