Does anyone know of a tool that generates a makefile by scanning a directory for source files?
It may be naive:
- no need to detect external dependencies
- use default compiler/linker settings
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 can write a
Makefilethat does this for you:Just place this in root directory of your source hierarchy and run
make(you’ll need GNU Make for this to work).(Note that I’m not fluent in
Makefileish so maybe this can be done easier.)