Question: create small C program called hello.c that will print out Hello followed by your name. For me, it would be Hello Caryl Rahn. Create a

create small C program called hello.c that will print out "Hello" followed by your name. For me, it would be "Hello Caryl Rahn."

Create a basic Makefile: call it Makefile with a capital M

Get the Makefile working so you can compile hello.c to an executable called hello.

Add a clean target to the Makefile to remove all extra .o files.

Show that the Makefile works and you can run the executable by typing the following at the command line. This will show that you can use an editor properly, create a basic C program and create a Makefile with a clean target.

clear

make

make clean

ls

hello

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!