Fold up a few lines

This commit is contained in:
Dan Buch 2024-04-19 21:26:19 -04:00
parent b979a794d6
commit 0ce1da0737
Signed by: meatballhat
GPG Key ID: A12F782281063434

View File

@ -20,8 +20,7 @@ build: $(BUILD_TARGETS)
.PHONY: gtest .PHONY: gtest
gtest: gtest:
@$(foreach bt, $(BUILD_TARGETS), make .gtest.$(bt) &&) \ @$(foreach bt, $(BUILD_TARGETS), make .gtest.$(bt) &&) printf '\ngYAY\n'
printf '\ngYAY\n'
.gtest.%: .gtest.%:
@if test -f .$*.argv; then readarray -t test_argv <.$*.argv; fi && \ @if test -f .$*.argv; then readarray -t test_argv <.$*.argv; fi && \
@ -29,8 +28,7 @@ gtest:
.PHONY: test .PHONY: test
test: test:
@$(foreach bt, $(BUILD_TARGETS), make .test.$(bt) &&) \ @$(foreach bt, $(BUILD_TARGETS), make .test.$(bt) &&) printf '\nYAY\n'
printf '\nYAY\n'
.test.%: .test.%:
@if test -f .$*.argv; then readarray -t test_argv <.$*.argv; fi && \ @if test -f .$*.argv; then readarray -t test_argv <.$*.argv; fi && \