From 63df71f2d2463d6be28b8632ba7edee6f64387b7 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 19 Jul 2025 17:52:44 +0300 Subject: [PATCH] Bring things to new compile-r7rs --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5d2799e..ae2b863 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ TEST=primitives SCHEME=chibi TMPDIR=tmp/${SCHEME} -all: build +all: build ${TMPDIR} build: snow-chibi package \ @@ -58,6 +58,7 @@ test: ${TMPDIR}/test/libtest.o ${TMPDIR}/test/libtest.so ${TMPDIR}/test/libtest. cd ${TMPDIR}/test && \ LD_LIBRARY_PATH=. \ GUILE_AUTO_COMPILE=0 \ + timeout 60 ./${TEST} test-compile-r7rs-snow: ${TMPDIR}/test/libtest.o ${TMPDIR}/test/libtest.so ${TMPDIR}/test/libtest.a @@ -92,7 +93,9 @@ ${TMPDIR}/test/libtest.so: tests/c-src/libtest.c ${TMPDIR}/test/libtest.a: ${TMPDIR}/test/libtest.o tests/c-src/libtest.c ar rcs ${TMPDIR}/test/libtest.a ${TMPDIR}/test/libtest.o -documentation/foreign-c.html: + +${TMPDIR}: + mkdir -p ${TMPDIR} # apt-get install pandoc weasyprint documentation: README.md