mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-03 07:00:27 +08:00
Makefile.am (nat_files, [...]): Make sure the dependencies don't get deleted if compilation fails.
* Makefile.am (nat_files, x_nat_files): Make sure the dependencies don't get deleted if compilation fails. * Makefile.in: Rebuilt. From-SVN: r47520
This commit is contained in:
parent
2e1b463b4d
commit
c4d7a90e8a
@ -1,3 +1,9 @@
|
||||
2001-12-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
|
||||
|
||||
* Makefile.am (nat_files, x_nat_files): Make sure the dependencies
|
||||
don't get deleted if compilation fails.
|
||||
* Makefile.in: Rebuilt.
|
||||
|
||||
2001-11-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
|
||||
|
||||
* Makefile.am (nat_headers, x_nat_headers): Depend on .class files, not
|
||||
|
@ -216,8 +216,9 @@ SUFFIXES = .class .java .h
|
||||
## is a bug in automake), and it also won't put the .o files into
|
||||
## subdirs. FIXME.
|
||||
$(nat_files) $(x_nat_files): %.lo: %.cc
|
||||
@echo '$(LTCXXCOMPILE) -c -o $@ $<'; \
|
||||
$(LTCXXCOMPILE) -MD -MT $@ -MF $*.d -c -o $@ $<
|
||||
@echo '$(LTCXXCOMPILE) -MD -MT $@ -MF $(@:.lo=.pp) -c -o $@ $<'; \
|
||||
$(LTCXXCOMPILE) -MD -MT $@ -MF $(@:.lo=.pp) -c -o $@ $<
|
||||
@-mv $(@:.lo=.pp) $(@:.lo=.d)
|
||||
|
||||
## FIXME: GNU make.
|
||||
$(c_files): %.lo: %.c
|
||||
|
@ -1762,8 +1762,9 @@ clean-local:
|
||||
$(GCJCOMPILE) -o $@ $<
|
||||
|
||||
$(nat_files) $(x_nat_files): %.lo: %.cc
|
||||
@echo '$(LTCXXCOMPILE) -c -o $@ $<'; \
|
||||
$(LTCXXCOMPILE) -MD -MT $@ -MF $*.d -c -o $@ $<
|
||||
@echo '$(LTCXXCOMPILE) -MD -MT $@ -MF $(@:.lo=.pp) -c -o $@ $<'; \
|
||||
$(LTCXXCOMPILE) -MD -MT $@ -MF $(@:.lo=.pp) -c -o $@ $<
|
||||
@-mv $(@:.lo=.pp) $(@:.lo=.d)
|
||||
|
||||
$(c_files): %.lo: %.c
|
||||
$(LTCOMPILE) -c -o $@ $<
|
||||
|
Loading…
x
Reference in New Issue
Block a user