[svn:ponie] rev 326 - trunk
[email protected] 10 Jul 2005 14:32:05 -0000
| Newsgroups | perl.ponie.changes |
|---|---|
| Message-ID | <[email protected]> |
Author: nicholas
Date: Sun Jul 10 07:32:04 2005
New Revision: 326
Modified:
trunk/ (props changed)
trunk/write_makefile.pl
Log:
r26009@ship-in-a-bottle: nick | 2005-07-10 13:14:42 +0100
Well, really I want a non-buggy clean target.
Modified: trunk/write_makefile.pl
==============================================================================
--- trunk/write_makefile.pl (original)
+++ trunk/write_makefile.pl Sun Jul 10 07:32:04 2005
@@ -22,6 +22,7 @@ sub all {
lc join ' ', map "$_$ext", @_;
}
my $allobjs = join ' ', all ($Config{_o}, @allPMCs), "perl5pmcs$Config{_o}";
+my $configobj;
{
local (*FH, $/);
@@ -32,7 +33,7 @@ my $allobjs = join ' ', all ($Config{_o}
# parrot.
# The whole hardcoding of the parrot config object file will go when someone
# (maybe me) comes up with a good way of doing it.
- $allobjs .= " $parrotdir/src/parrot_config$Config{_o}"
+ $configobj = " $parrotdir/src/parrot_config$Config{_o}"
unless index ($d, '$(SRC_DIR)/parrot_config$(O)') == -1;
}
@@ -47,7 +48,7 @@ PERL=$^X -I$parrotdir/lib
CC=$Config{cc}
CFLAGS=$Config{ccflags} -DPONIE_CORE -g -I$parrotdir/classes -I$parrotdir/include -I$top/perl
-libponie$Config{_a}: $allobjs
+libponie$Config{_a}: $allobjs $configobj
ar -r \$\@ \$\?
$Config{ranlib} \$\@