diff --git a/etc/libemb.pl b/etc/libemb.pl new file mode 100755 index 00000000..d6340b58 --- /dev/null +++ b/etc/libemb.pl @@ -0,0 +1,63 @@ +#!/usr/bin/perl + +@files = ( + 'piclib/built-in.scm', + 'piclib/srfi/1.scm', + 'piclib/srfi/26.scm', + 'piclib/srfi/95.scm' + ); + +print <) { + chomp; + s/\\/\\\\/g; + s/"/\\"/g; + print "\"$_\"\n"; + } + print ";\n\n"; +} +close IN; + +print < ${PROJECT_SOURCE_DIR}/src/load_piclib.c WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} )