Is there a way to have Makefiles run automatically (then pause at the end) when doubleclicked in Windows Explorer?
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.
Makefiles themselves are not meant to be executable, but there is a way to automate the making of programs by using a batch file (for Windows) or a shell script (for Unix). Place the following in a notepad text file and rename it to a .bat extension file (like makeprogram.bat):
This .bat file is executable, and if placed in the same folder as a makefile will compile according to said makefile using the make command.