diff options
Diffstat (limited to 'libtommath/gen.pl')
-rw-r--r-- | libtommath/gen.pl | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libtommath/gen.pl b/libtommath/gen.pl deleted file mode 100644 index 7236591..0000000 --- a/libtommath/gen.pl +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/perl -w -# -# Generates a "single file" you can use to quickly -# add the whole source without any makefile troubles -# -use strict; - -open( OUT, ">mpi.c" ) or die "Couldn't open mpi.c for writing: $!"; -foreach my $filename (glob "bn*.c") { - open( SRC, "<$filename" ) or die "Couldn't open $filename for reading: $!"; - print OUT "/* Start: $filename */\n"; - print OUT while <SRC>; - print OUT "\n/* End: $filename */\n\n"; - close SRC or die "Error closing $filename after reading: $!"; -} -print OUT "\n/* EOF */\n"; -close OUT or die "Error closing mpi.c after writing: $!";
\ No newline at end of file |