-#!/usr/bin/env perl -w
+#!/usr/bin/env perl
#
# Cross-platform Makefile generator.
#
# - special-define objects (foo.o[PREPROCSYMBOL]) are not
# supported in the mac or vcproj makefiles.
+use warnings;
use IO::Handle;
use Cwd;
$objstr = &objects($p, "X.o", undef, undef);
print &splitline($prog . ": " . $objstr), "\n";
$libstr = &objects($p, undef, undef, "-lX");
- print &splitline("\t\$(CC) -o \$@ $objstr $libstr \$(${type}LIBS)", 69),
+ print &splitline("\t\$(CC) -o \$@ $objstr $libstr \$(XLFLAGS) \$(${type}LIBS)", 69),
"\n\n";
}
foreach $d (&deps("X.o", undef, $dirpfx, "/")) {