Relative Content

Tag Archive for makefile

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.

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.