diff --git a/etc/mkloader.pl b/etc/mkloader.pl index 1f397915..565c392b 100755 --- a/etc/mkloader.pl +++ b/etc/mkloader.pl @@ -2,20 +2,13 @@ use strict; -my @files = ( - 'piclib/built-in.scm', - 'piclib/srfi/1.scm', - 'piclib/srfi/26.scm', - 'piclib/srfi/95.scm' - ); - print < ${PROJECT_SOURCE_DIR}/src/load_piclib.c + COMMAND ${PERL_EXECUTABLE} etc/mkloader.pl ${PICLIBS} > ${PROJECT_SOURCE_DIR}/src/load_piclib.c WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} )