Revision 4603
Added by Aaron Marcuse-Kubitza about 12 years ago
lib/common.Makefile | ||
---|---|---|
24 | 24 |
wildcard/ = $(shell echo $(1)|grep -vF '*')# emulate `shopt -s nullglob` |
25 | 25 |
# needed because builtin $(wildcard) doesn't do / suffix correctly |
26 | 26 |
no/ = $(1:/=)# remove trailing / |
27 |
+w = $(wildcard $+)# existing items in $+ |
|
27 | 28 |
CP := cp -p |
28 | 29 |
cp = $(CP) $< $@ |
29 | 30 |
|
Also available in: Unified diff
lib/common.Makefile: Added $(+w)