(make) loops
This commit is contained in:
+4
-2
@@ -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);)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user