Let's say I have the following wildcard matches in a makefile:
data-files = $(wildcard $(ptdf)/*.png) \
$(wildcard $(ptdf)/*.gif) \
$(wildcard $(ptdf)/*.bmp) \
$(wildcard $(ptdf)/*.jpg) \
$(wildcard $(ptdf)/*.ico) \
$(wildcard $(ptdf)/*.dist) \
$(wildcard $(ptdf)/*.html)
Can the wildcard syntax give me the power to match, for example, file names containing from 1 to 2 letters, as the regexp \w{1,2}
would do? With no filename extension?
If not, how can I do that with other syntax with linux command (such as find
, etc)?