Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
change the automatic variable for building pdl in the Makefile.PL
This is more portable since some `make`s only expand `$<` in an
inference rule rather than an explicit command. See the definition in
POSIX <http://pubs.opengroup.org/onlinepubs/009695399/utilities/make.html>.
  • Loading branch information
zmughal committed Aug 10, 2015
1 parent f18f6ea commit 6ccd426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.PL
Expand Up @@ -578,7 +578,7 @@ EOPS

$text .= <<EOT if $^O !~ /MSWin/;
pdl$Config::Config{exe_ext} : pdl.c
\$(CC) \$< -o \$\@
\$(CC) \$^ -o \$\@
EOT

$text .= << 'EOT' if $^O =~ /MSWin/;
Expand Down

0 comments on commit 6ccd426

Please sign in to comment.