Put .PHONY notations near targets

This commit is contained in:
Ruihan Li
2024-02-23 11:50:27 +08:00
committed by Tate, Hongliang Tian
parent e92cbd0e28
commit 26d17704bf
6 changed files with 26 additions and 16 deletions

View File

@ -44,8 +44,7 @@ TARGET_DIR := $(INITRAMFS)/opt/syscall_test
RUN_BASH := $(CUR_DIR)/run_syscall_test.sh
BLOCK_LIST := $(CUR_DIR)/blocklists
.PHONY: all clean
.PHONY: all
all: $(TESTS)
$(TESTS): $(BIN_DIR) $(TARGET_DIR)
@ -75,5 +74,6 @@ $(TARGET_DIR): $(RUN_BASH) $(BLOCK_LIST)
@# Copy bash script
@cp -f $(RUN_BASH) $@
.PHONY: clean
clean:
@rm -rf $(TARGET_DIR)