On 11/6/06, Philippe Schaffnit <[EMAIL PROTECTED]> wrote:
I think it's a simple Makefile problem:
static.c #includes mktmpdir.c, my_perl.c, and my_par.c but static.o doesn't
depend on them (it only implicitly depends on static.c). static depends on
my_par.c, but that doesn't mean that static.o must be rebuild.
In myldr/Makefile change

./static: sha1.o my_perl.c my_par.c static.o
       $(LD) static.o $(STATIC_LDFLAGS)  --output ./static
       $(PERL) parlsig.pl ./static ./par 1 30000

to

static.o: my_perl.c my_par.c mktmpdir.c                                    <----
./static: sha1.o static.o
                    <----
       $(LD) static.o $(STATIC_LDFLAGS)  --output ./static
       $(PERL) parlsig.pl ./static ./par 1 30000

If this works, change myldr/Makefile.PL accordingly.

Cheers, Roderich

Reply via email to