Clean up the naming of some build rules

This commit is contained in:
Brian Anderson 2012-05-10 15:43:26 -07:00
parent b052dae230
commit 8244b89be7

View file

@ -32,8 +32,8 @@ ifeq ($(OSTYPE),darwin)
SERVO_DEPS += src/rust-cocoa/libcocoa.dummy SERVO_DEPS += src/rust-cocoa/libcocoa.dummy
# I want the cocoa check to come before the servo check since if cocoa # I want the cocoa check to come before the servo check since if cocoa
# doesn't work neither does servo # doesn't work neither does servo
CHECK_DEPS += check-cocoa CHECK_DEPS += check-rust-cocoa
CLEAN_DEPS += clean-cocoa CLEAN_DEPS += clean-rust-cocoa
endif endif
SERVO_DEPS += \ SERVO_DEPS += \
@ -43,16 +43,16 @@ SERVO_DEPS += \
$(NULL) $(NULL)
CHECK_DEPS += \ CHECK_DEPS += \
check-mozjs \ check-rust-mozjs \
check-sdl \ check-rust-sdl \
check-azure \ check-rust-azure \
check-servo \ check-servo \
$(NULL) $(NULL)
CLEAN_DEPS += \ CLEAN_DEPS += \
clean-mozjs \ clean-rust-mozjs \
clean-sdl \ clean-rust-sdl \
clean-azure \ clean-rust-azure \
clean-servo \ clean-servo \
$(NULL) $(NULL)
@ -85,39 +85,39 @@ check: $(CHECK_DEPS)
check-servo: servo-test check-servo: servo-test
./servo-test ./servo-test
.PHONY: check-mozjs .PHONY: check-rust-mozjs
check-mozjs: check-rust-mozjs:
$(MAKE) check -C src/rust-mozjs RUSTFLAGS="-L ../mozjs/" $(MAKE) check -C src/rust-mozjs RUSTFLAGS="-L ../mozjs/"
.PHONY: check-azure .PHONY: check-rust-azure
check-azure: check-rust-azure:
$(MAKE) check -C src/rust-azure $(MAKE) check -C src/rust-azure
.PHONY: check-sdl .PHONY: check-rust-sdl
check-sdl: check-rust-sdl:
$(MAKE) check -C src/rust-sdl $(MAKE) check -C src/rust-sdl
.PHONY: check-cocoa .PHONY: check-rust-cocoa
check-cocoa: check-rust-cocoa:
$(MAKE) check -C src/rust-cocoa $(MAKE) check -C src/rust-cocoa
.PHONY: clean .PHONY: clean
clean: $(CLEAN_DEPS) clean: $(CLEAN_DEPS)
.PHONY: clean-mozjs .PHONY: clean-rust-mozjs
clean-mozjs: clean-rust-mozjs:
$(MAKE) clean -C src/rust-mozjs $(MAKE) clean -C src/rust-mozjs
.PHONY: clean-azure .PHONY: clean-rust-azure
clean-azure: clean-rust-azure:
$(MAKE) clean -C src/rust-azure $(MAKE) clean -C src/rust-azure
.PHONY: clean-sdl .PHONY: clean-rust-sdl
clean-sdl: clean-rust-sdl:
$(MAKE) clean -C src/rust-sdl $(MAKE) clean -C src/rust-sdl
.PHONY: clean-cocoa .PHONY: clean-rust-cocoa
clean-cocoa: clean-rust-cocoa:
$(MAKE) clean -C src/rust-cocoa $(MAKE) clean -C src/rust-cocoa
.PHONY: clean-servo .PHONY: clean-servo