(make) loops

This commit is contained in:
scbj
2026-08-12 14:42:26 +02:00
parent a5faf44de1
commit 73fbbfebf0
+4 -2
View File
@@ -1,8 +1,10 @@
SHELL := /usr/bin/env bash
MAKES := a.mk \
b.mk
.PHONY: all clean test
all:
@echo "helo"
@echo "$(notdir $(shell pwd))"
$(foreach item, $(MAKES), cp $(item) $(item:.mk=.test);)