Question: Hi, I need to write a simple makefile that will perform the same actions that this line of code will: When it's complete, I should
Hi,
I need to write a simple makefile that will perform the same actions that this line of code will:

When it's complete, I should be able to type $make into the directory and it will produce the movie_recommender file, and will only recompile if any of the .c or .h files have been changed. I'm a bit lost on how to do this so any help is appreciated thanks!!!
$gcc -linclude src/movie recommender.c src/preferences.c src/distances.c -o movie recommender
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
