(make) loops
This commit is contained in:
+4
-2
@@ -1,8 +1,10 @@
|
|||||||
SHELL := /usr/bin/env bash
|
SHELL := /usr/bin/env bash
|
||||||
|
|
||||||
|
MAKES := a.mk \
|
||||||
|
b.mk
|
||||||
|
|
||||||
.PHONY: all clean test
|
.PHONY: all clean test
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@echo "helo"
|
$(foreach item, $(MAKES), cp $(item) $(item:.mk=.test);)
|
||||||
@echo "$(notdir $(shell pwd))"
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user