How can I iterate through 2 lists in a Makefile?
I want to automatically generate targets for many modules. The Makefile works if the files are in the same folder. I would like to make it work for different paths.
Makefile throws undefined reference error
I am a total noob when it comes to makefile and want to improve my skills, and therefore Im here to learn from you. I have a small project with several files. There is one main file, with a header and two additional source and header files with definition and declaration seperated.
How to solve “Unexpected end of file” error from Makefile recipe?
I have the following recipe:
interactive Makefile command
I created a Makefile in which there is a comand that calculates the time of execution of a program,
but I want to use that comand with a different input each time.
This is the Makefile, I want to test different inputs on the gprof comand, but I don’t want to change the Makefile every time.
Makefile seems like some bugs when I put rule like “test_0.o: %.o: %.cpp”
I have Makefile2 of context below