Re: Makefile missing semicolon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/25/07, Hynek Cihlar <hynek.cihlar@xxxxxxxxx> wrote:
.c.o:
#       if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
#       then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f $(DEPDIR)/$*.Tpo"; exit 1; fi
        source='$<' object='$@' libtool=no \
        DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
        $(COMPILE) -c $<

Shouldn't be the shell commands separated by semicolon?

There is only one shell command, but it happens to be broken across a
few lines (indicated by the backslashes) which make glues together
again before it passes the result to the shell.

In this case, the command getting run is (or should be):

source='$<' object='$@' libtool=no DEPDIR=$(DEPDIR) $(CCDEPMODE)
$(depcomp) $(COMPILE) -c $<


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux