X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/40f89e91b4f5fc2cbc01486e7387a8ae530356df..c0f63b88e536d161a4508c918f805fbc497b75c9:/mkfiles.pl diff --git a/mkfiles.pl b/mkfiles.pl index 541a44d..5bb0d39 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -1137,7 +1137,7 @@ if (defined $makefiles{'gtk'}) { $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, "/")) {