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:

Hi, I need to write a simple makefile that will perform the

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!