On the same model as `basetarget', it represents the filename of first prerequisite with directory and extension stripped.
Unified · Split
| @@ -20,6 +20,10 @@ depfile = $(subst $(comma),_,$(dot-target).d) · 19 unmodified lines | ||
| 20 | 20 | # filename of target with directory and extension stripped |
| 21 | 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 | 28 | # Escape single quote for use in echo statements |
| 25 | 29 | escsq = $(subst $(squote),'\$(squote)',$1) |