~ubuntu-branches/ubuntu/vivid/sgt-puzzles/vivid-proposed

« back to all changes in this revision

Viewing changes to mkfiles.pl

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings
  • Date: 2011-07-11 03:56:55 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110711035655-qjakg0h7wv99tmu9
Tags: 9179-1
* New upstream version:
  - Remove unused-but-set variables - closes: #625425
  - Avoid infinite loop in Loopy at Easy level
  - Add Penrose tilings to Loopy
* Update German translation, thanks to Helge Kreutzmann
* Do not compile with -Werror

Show diffs side-by-side

added added

removed removed

Lines of Context:
1115
1115
    "# to 1.2 if it isn't found.\n".
1116
1116
    "GTK_CONFIG = sh -c 'pkg-config gtk+-2.0 \$\$0 2>/dev/null || gtk-config \$\$0'\n".
1117
1117
    "\n".
1118
 
    &splitline("CFLAGS := -O2 -Wall -Werror -ansi -pedantic -g " .
 
1118
    &splitline("CFLAGS := -O2 -Wall -ansi -pedantic -g " .
1119
1119
               (join " ", map {"-I$dirpfx$_"} @srcdirs) .
1120
1120
               " `\$(GTK_CONFIG) --cflags` \$(CFLAGS)")."\n".
1121
1121
    "XLIBS = `\$(GTK_CONFIG) --libs`\n".
1140
1140
      $objstr = &objects($p, "X.o", undef, undef);
1141
1141
      print &splitline($prog . ": " . $objstr), "\n";
1142
1142
      $libstr = &objects($p, undef, undef, "-lX");
1143
 
      print &splitline("\t\$(CC) -o \$@ $objstr $libstr \$(${type}LIBS)", 69),
 
1143
      print &splitline("\t\$(CC) -o \$@ $objstr $libstr \$(XLFLAGS) \$(${type}LIBS)", 69),
1144
1144
          "\n\n";
1145
1145
    }
1146
1146
    foreach $d (&deps("X.o", undef, $dirpfx, "/")) {