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

@ -8,7 +8,6 @@ REGRESSION_BUILD_DIR ?= $(INITRAMFS)/regression
TEST_APPS := signal_c pthread network hello_world hello_pie hello_c fork_c fork execve pty
.PHONY: all
all:
@mkdir -p $(REGRESSION_BUILD_DIR)
@for test_app in $(TEST_APPS); \

View File

@ -1,6 +1,5 @@
# SPDX-License-Identifier: MPL-2.0
.PHONY: all
all: ./*.sh
@cp ./*.sh $(BUILD_DIR)
@cp ./*.sh $(BUILD_DIR)

View File

@ -14,7 +14,6 @@ CC := gcc
C_FLAGS :=
.PHONY: all
all: $(OBJ_OUTPUT_DIR) $(C_OBJS) $(ASM_OBJS)
$(OBJ_OUTPUT_DIR):