Search Results

Search: Posts Made By: ybelenky
12,087
Posted By ybelenky
Thanks, agama! Is this syntax: files =...
Thanks, agama!
Is this syntax: files = ${dir:%=%:/*} explained in the GNU make tutorial? (I could not find it there.) If not, where can I read about it?
12,087
Posted By ybelenky
make - foreach function
I wrote the following Makefile:


dirs := a b c d
files := $(foreach dir,$(dirs),$(wildcard $(dir)/*))
.PHONY: all
all:
touch $(files)

The first two lines are taken from GNU make...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 02:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy