From 826e0298fa89ec38199e45ff9202314882dcab23 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 23 Apr 2011 11:37:46 +0000 Subject: [PATCH] Support user-specified extra link flags (XLFLAGS) in the Unix makefile. Makes it easy to recompile for things like profiling. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9154 cda61777-01e9-0310-a592-d414129be87e --- mkfiles.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, "/")) { -- 2.11.0