Refine compilation of regression tests

This commit is contained in:
Ruihan Li
2024-02-29 17:05:35 +08:00
committed by Tate, Hongliang Tian
parent 26d17704bf
commit c15eb2299b
10 changed files with 38 additions and 22 deletions

View File

@ -1,5 +1,10 @@
# SPDX-License-Identifier: MPL-2.0
SOURCES := $(wildcard *.sh)
TARGETS := $(addprefix $(BUILD_DIR)/, $(SOURCES))
.PHONY: all
all: ./*.sh
@cp ./*.sh $(BUILD_DIR)
all: $(TARGETS)
$(BUILD_DIR)/%.sh: %.sh
@cp $< $@