Index: Makefile ================================================================== --- Makefile +++ Makefile @@ -443,10 +443,32 @@ @grep : Makefile | perl -ne '/^([A-Za-z0-9_-]+):/ && print "$$1\n"' unit : cd tests;make unit + +#====================================================================== +# Chicken build +#====================================================================== + +tgz/chicken-4.13.0.tar.gz : + mkdir -p tgz + curl https://code.call-cc.org/releases/4.13.0/chicken-4.13.0.tar.gz > tgz/chicken-4.13.0.tar.gz + +build/chicken-4.13.0/LICENSE : tgz/chicken-4.13.0.tar.gz + mkdir -p build/eggs-installed + cd build;tar xf ../tgz/chicken-4.13.0.tar.gz + +build/bin/csi : build/chicken-4.13.0/LICENSE + cd build/chicken-4.13.0;make PLATFORM=linux + cd build/chicken-4.13.0;make PLATFORM=linux PREFIX=../ install + +EGGS=srfi-69 +EGGSTARG=$(addsuffix .done,$(addprefix build/eggs-installed/,$(EGGS))) + +build/eggs-installed/%.done : build/bin/csi + build/bin/chicken-install $* > build/eggs-installed/$*.done #====================================================================== # Attic #======================================================================