# This is a list of all files in the core. Each cpp file is mapped to a shared object file,
# whos file extension is omitted (these can vary from system to system). Auto detected by
-# scanning the src/*.cpp files for files containing /* $Core: */ identifiers.
+# scanning the src/*.cpp files for files containing /* $Core */ identifiers.
our %filelist = ();
#define OPTIMISATION $config{OPTIMITEMP}
#define LIBRARYDIR "$config{LIBRARY_DIR}"
#define SYSTEM "$incos"
+#define ENTRYPOINT int main(int argc, char** argv)
EOF
print FILEHANDLE "#define MAXBUF " . ($config{MAXBUF}+2) . "\n";
while (defined(my $line = <CPP>))
{
chomp($line);
- if ($line =~ /\/\* \$Core: (\w+) \*\//i)
+ if ($line =~ /\/\* \$Core \*\//i)
{
my $sname = $name;
$sname =~ s/\.cpp$/.o/;