Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me with Programing in C!! Create a makefile to build your program. Add the following rule: elements elements .o elementops.o gcc -o elements

Please help me with Programing in C!! image text in transcribed
Create a makefile to build your program. Add the following rule: elements elements .o elementops.o gcc -o elements elements o elementops.o Make sure the second line of your rule starts with tab and not spaces. Build your program by executing the makefile: make Does your program build successfully? The building process needs to know about the dependencies. Add the following rule to your makefile: elements o: elements. c elementops.h gcc -c elements .c Try to build your program. Is it successful? Add the last missing rule to be able to build your program successfully. (The rule to generate elementops, o is missing) Build your program again. You should get a message similar to: make elements is up to date Try the following command to simulate modifying elements .o. Remember, the touch command sets the timestamp of the file to the current time. touch elements.o Now build your program again. What files are regenerated? Now touch elementops.c, then build your program. what files are regenerated? Now touch elementops h, then build your program. What files are regenerated? Create a makefile to build your program. Add the following rule: elements elements .o elementops.o gcc -o elements elements o elementops.o Make sure the second line of your rule starts with tab and not spaces. Build your program by executing the makefile: make Does your program build successfully? The building process needs to know about the dependencies. Add the following rule to your makefile: elements o: elements. c elementops.h gcc -c elements .c Try to build your program. Is it successful? Add the last missing rule to be able to build your program successfully. (The rule to generate elementops, o is missing) Build your program again. You should get a message similar to: make elements is up to date Try the following command to simulate modifying elements .o. Remember, the touch command sets the timestamp of the file to the current time. touch elements.o Now build your program again. What files are regenerated? Now touch elementops.c, then build your program. what files are regenerated? Now touch elementops h, then build your program. What files are regenerated

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions

Question

Define Conventional Marketing.

Answered: 1 week ago

Question

Define Synchro Marketing.

Answered: 1 week ago

Question

Define marketing concepts.

Answered: 1 week ago

Question

1 what does yellow colour on the map represent?

Answered: 1 week ago

Question

What is the relationship between diversity, inclusion, and equity?

Answered: 1 week ago