mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Only clean rust-cocoa on mac
This commit is contained in:
parent
54b74ef209
commit
85c022da57
1 changed files with 21 additions and 1 deletions
22
Makefile.in
22
Makefile.in
|
@ -21,12 +21,14 @@ SERVO_DEPS = \
|
|||
$(RUST_SRC) \
|
||||
$(NULL)
|
||||
CHECK_DEPS =
|
||||
CLEAN_DEPS =
|
||||
|
||||
ifeq ($(OSTYPE),darwin)
|
||||
SERVO_DEPS += src/rust-cocoa/libcocoa.dummy
|
||||
# I want the cocoa check to come before the servo check since if cocoa
|
||||
# doesn't work neither does servo
|
||||
CHECK_DEPS += check-cocoa
|
||||
CLEAN_DEPS += clean-cocoa
|
||||
endif
|
||||
|
||||
SERVO_DEPS += \
|
||||
|
@ -40,6 +42,12 @@ CHECK_DEPS += \
|
|||
check-servo \
|
||||
$(NULL)
|
||||
|
||||
CLEAN_DEPS += \
|
||||
clean-sdl \
|
||||
clean-azure \
|
||||
clean-servo \
|
||||
$(NULL)
|
||||
|
||||
.PHONY: all
|
||||
all: servo
|
||||
|
||||
|
@ -82,8 +90,20 @@ src/rust-cocoa/cocoa-test:
|
|||
make check -C src/rust-cocoa
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
clean: $(CLEAN_DEPS)
|
||||
|
||||
.PHONY: clean-azure
|
||||
clean-azure:
|
||||
make clean -C src/rust-azure
|
||||
|
||||
.PHONY: clean-sdl
|
||||
clean-sdl:
|
||||
make clean -C src/rust-sdl
|
||||
|
||||
.PHONY: clean-cocoa
|
||||
clean-cocoa:
|
||||
make clean -C src/rust-cocoa
|
||||
|
||||
.PHONY: clean-servo
|
||||
clean-servo:
|
||||
rm -f servo servo-test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue