Suppose I want to add a runtime conditional to a Makefile generated by Automake. Is there any way to tell Automake about this conditional?
Share
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.
You’ve asked a pretty general question so I can only provide a pretty general answer. Your project’s
Makefile.amis whatautomakeparses to produce theMakefile.infile which ultimately produces theMakefile. You can generally just add your custom rules toMakefile.amfor most cases (assuming this is under your control). See here for more details or googleMakefile.am