Craig A . Berry <craigberry@mac.com> writes: >As far as I can tell, the OBJ_EXT macro already includes the dot on all >platforms. Had not noticed that. >The "-" prefixing the touch command renders it invalid on VMS; >does that have meaning somewhere or was that just a typo? Prepending - means "don't stop if this command fails" in most makes (including dmake on Win32). I added the '-' because it was touching the source files, and as they cam out of perforce/tar read-only Win32 cannot 'touch' them. Now the object files are the targets I don't think we need the rule at all - it is sufficient just to say objects depend on the .h file. > >--- ext/Devel/PPPort/Makefile.PL;-0 Mon Dec 31 09:40:54 2001 >+++ ext/Devel/PPPort/Makefile.PL Mon Dec 31 18:57:04 2001 >@@ -22,8 +22,8 @@ > ppport.h: ppport_h.PL > \$(PERL) "-I\$(PERL_ARCHLIB)" "-I\$(PERL_LIB)" ppport_h.PL > >-PPPort.xs module2.\$(OBJ_EXT) module3.\$(OBJ_EXT) : ppport.h >- -\$(TOUCH) \$@ >+PPPort.xs module2\$(OBJ_EXT) module3\$(OBJ_EXT) : ppport.h >+ \$(TOUCH) \$@ > > EOM > >[end] -- Nick Ing-Simmons http://www.ni-s.u-net.com/Thread Previous | Thread Next