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?