WHen I call my tope level Makefile, it cd's to my LaffPerl directory and does a make.Billy N. Patton <[EMAIL PROTECTED]> writes:
How do I stop my make file from compiling the .so everytime?
I have a higher level makefile that does a lot of stuff. One of the things is to push into my xs directory and do a make. It has been months since I have touched the .xs or the .pm or the typemap.
I woould like for the compilation to not occur every time I do a make.
So you need to avoid doing the "perl Makefile.PL" in higher level Makefile except when needed, as otherwise Makefile is changed and re-build occurs.
I have added these lines to my Makefile.PL 'depend' => [ laff.pm laff.xs typemap ]
This seems to have no effect.
depend {ANY_TARGET => ANY_DEPENDECY, ...}
(ANY_TARGET must not be given a doubleâcolon rule by MakeMaker.)
It takes a hashref not an array ref, and values of hash are strings not lists e.g.
depend => { Makefile => â$(VERSION_FROM)â }
So what do you mean to happen?
If Laff.xs and Laff.pm and typemap have not changed then I don't want it to recompile. I'm thinking that it needs to look at the blib/.../*.so
-- ___ _ ____ ___ __ __ / _ )(_) / /_ __ / _ \___ _/ /_/ /____ ___ / _ / / / / // / / ___/ _ `/ __/ __/ _ \/ _ \ /____/_/_/_/\_, / /_/ \_,_/\__/\__/\___/_//_/ /___/ Texas Instruments ASIC Circuit Design Methodlogy Group Dallas, Texas, 214-480-4455, [EMAIL PROTECTED]