When I run CVS Automake, the .c.o and .c.lo rules become like this:
| .c.o:
|
| @AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
| @AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
| @AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
| $(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
| .c.lo:
|
| @AMDEP@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
| @AMDEP@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
| @AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
| $(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
GNU make seems to handle the empty first line, but IRIX MIPSPro make
doesn't.
Lars J
--
Innovation is one percent inspiration and ninetynine percent perspiration,
and in my case; twice that... -- Norville Barnes, `The Hudsucker Proxy'