Can wildcards be used in the static pattern rule context in GNU make? For example:
$(BUILD_DIR)/$(DEPENDENCIES) : */%.d : $(SOURCE_DIR)/%.c
...
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Leave the
$(SOURCE_DIR)/%.coff the static pattern rule, and enter the dependencies on a separate line. Maybe:This answers the question, though I share @Beta’s opinion that this is not what you want.