mirror of https://github.com/rust-lang/rust.git
More driver related cleanups.
This commit is contained in:
parent
bd8f6097a7
commit
346f1a6769
47
mk/tests.mk
47
mk/tests.mk
|
@ -182,23 +182,21 @@ compile-check: tidy \
|
||||||
# Testing rules
|
# Testing rules
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
%.stage0$(X): %.stage0.o $(SREQ0)
|
%.stage0$(X): %.rs $(SREQ0)
|
||||||
@$(call E, link [gcc]: $@)
|
@$(call E, compile_and_link: $@)
|
||||||
$(Q)gcc $(CFG_GCCISH_CFLAGS) stage1/glue.o -o $@ $< \
|
$(STAGE0) -o $@ $<
|
||||||
-Lstage1 -Lrt rt/main.o -lrustrt -lstd -lm
|
|
||||||
@# dsymutil sometimes fails or prints a warning, but the
|
|
||||||
@# program still runs. Since it simplifies debugging other
|
|
||||||
@# programs, I\'ll live with the noise.
|
|
||||||
-$(Q)$(CFG_DSYMUTIL) $@
|
|
||||||
|
|
||||||
%.stage1$(X): %.stage1.o $(SREQ1)
|
%.stage0$(X): %.rc $(SREQ0)
|
||||||
@$(call E, link [gcc]: $@)
|
@$(call E, compile_and_link: $@)
|
||||||
$(Q)gcc $(CFG_GCCISH_CFLAGS) stage2/glue.o -o $@ $< \
|
$(STAGE0) -o $@ $<
|
||||||
-Lstage2 -Lrt rt/main.o -lrustrt -lstd -lm
|
|
||||||
@# dsymutil sometimes fails or prints a warning, but the
|
%.stage1$(X): %.rs $(SREQ1)
|
||||||
@# program still runs. Since it simplifies debugging other
|
@$(call E, compile_and_link: $@)
|
||||||
@# programs, I\'ll live with the noise.
|
$(STAGE1) -o $@ $<
|
||||||
-$(Q)$(CFG_DSYMUTIL) $@
|
|
||||||
|
%.stage1$(X): %.rc $(SREQ1)
|
||||||
|
@$(call E, compile_and_link: $@)
|
||||||
|
$(STAGE1) -o $@ $<
|
||||||
|
|
||||||
%.stage2$(X): %.rs $(SREQ2)
|
%.stage2$(X): %.rs $(SREQ2)
|
||||||
@$(call E, compile_and_link: $@)
|
@$(call E, compile_and_link: $@)
|
||||||
|
@ -208,23 +206,6 @@ compile-check: tidy \
|
||||||
@$(call E, compile_and_link: $@)
|
@$(call E, compile_and_link: $@)
|
||||||
$(STAGE2) -o $@ $<
|
$(STAGE2) -o $@ $<
|
||||||
|
|
||||||
%.stage0.o: %.rc $(SREQ0)
|
|
||||||
@$(call E, compile [stage0]: $@)
|
|
||||||
$(STAGE0) -c -o $@ $<
|
|
||||||
|
|
||||||
%.stage0.o: %.rs $(SREQ0)
|
|
||||||
@$(call E, compile [stage0]: $@)
|
|
||||||
$(STAGE0) -c -o $@ $<
|
|
||||||
|
|
||||||
|
|
||||||
%.stage1.o: %.rc $(SREQ1)
|
|
||||||
@$(call E, compile [stage1]: $@)
|
|
||||||
$(STAGE1) -c -o $@ $<
|
|
||||||
|
|
||||||
%.stage1.o: %.rs $(SREQ1)
|
|
||||||
@$(call E, compile [stage1]: $@)
|
|
||||||
$(STAGE1) -c -o $@ $<
|
|
||||||
|
|
||||||
# Cancel the implicit .out rule in GNU make.
|
# Cancel the implicit .out rule in GNU make.
|
||||||
%.out: %
|
%.out: %
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue