Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 1 4 points ) There are three source files sender . c , receiver.c , and commlib.c . The files sender . c while

(14 points)
There are three source files sender.c, receiver.c, and commlib.c. The files sender.c while
and commlib.c are compiled and linked together to build the executable file send to the exe-
cutable file receiver. Write a makefile so a user can just type make to build the sender
and the receiver executable files.
C=gCC
CFLAGS=-g
I ALAGS =-i
all: Senders reciever
Sender: Sender. 0 commlib. 0
${cc}-O Sender Sender.o commlib.o
reciever: Heciever. o commib. o
${cc}-0 recievon reciever. Commitio
clean: rm racievor, Sender, reciever.o, Scinder. o, commlto o
makederndS{ I FLAGSS Senden.o commit. O
makedepand & IfLAGS Gecieus. 0 commbib. 0
Assume that after building the sender and the receiver executable files, we modify the
file sender.c. Then we type make again. What will you see on the screen (i.e. the compil-
ing/linking commands executed)?
If modified and rein again the 'make' command
only the Scnder.c, commbibic well compiled
and linked toguther., gcc-c Sender. c
on the squeen
to.mmlib.s.
11
gec -o Sender Sendor.o Commlib.o
image text in transcribed

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: 3

blur-text-image

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

Learn To Program Databases With Visual Basic 6

Authors: John Smiley

1st Edition

1902745035, 978-1902745039

More Books

Students also viewed these Databases questions

Question

Compare Jung and Adlers theories to Freuds psychoanalysis.

Answered: 1 week ago

Question

3. Identify cultural universals in nonverbal communication.

Answered: 1 week ago