Revision 7046
Added by Aaron Marcuse-Kubitza about 12 years ago
common.Makefile | ||
---|---|---|
10 | 10 |
null := |
11 | 11 |
space := $(null) $(null) |
12 | 12 |
comma := , |
13 |
and = $(if $(1),$(2)) |
|
14 |
or = $(1)$(2) |
|
15 |
not = $(if $(1),,1) |
|
13 | 16 |
pathParts = $(shell path="$(1)"; echo "$${path%%/*}" "$${path\#*/}") |
14 | 17 |
topDir = $(word 1,$(pathParts)) |
15 | 18 |
subPath = $(word 2,$(pathParts)) |
Also available in: Unified diff
lib/common.Makefile: Added $(and), $(or), $(not)