On the same model as `basetarget', it represents the filename of first prerequisite with directory and extension stripped.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -20,6 +20,10 @@ depfile = $(subst $(comma),_,$(dot-target).d) · 19 unmodified lines | |||
| 20 | # filename of target with directory and extension stripped | 20 | # filename of target with directory and extension stripped |
| 21 | basetarget = $(basename $(notdir $@)) | 21 | basetarget = $(basename $(notdir $@)) |
| 22 | 22 | ||
| 23 | ### | ||
| 24 | # filename of first prerequisite with directory and extension stripped | ||
| 25 | baseprereq = $(basename $(notdir $<)) | ||
| 26 | |||
| 23 | ### | 27 | ### |
| 24 | # Escape single quote for use in echo statements | 28 | # Escape single quote for use in echo statements |
| 25 | escsq = $(subst $(squote),'\$(squote)',$1) | 29 | escsq = $(subst $(squote),'\$(squote)',$1) |