Created the second homework, aka "echoserver."
This commit is contained in:
parent
e8882fa175
commit
2ff9635484
4 changed files with 168 additions and 0 deletions
20
echoserver/Makefile
Normal file
20
echoserver/Makefile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
CC = gcc -Wall -std=c11 -pedantic
|
||||
SOURCES = echoserver.c
|
||||
OBJECTS = echoserver.o
|
||||
|
||||
all: echoserver
|
||||
|
||||
echoserver: $(OBJECTS)
|
||||
$(CC) $(OBJECTS) -o echoserver
|
||||
|
||||
echoserver.o: echoserver.c
|
||||
$(CC) -c echoserver.c -o echoserver.o
|
||||
|
||||
clean:
|
||||
rm -f $(OBJECTS) echoserver echoserver.out
|
||||
|
||||
clean_objects:
|
||||
rm -f $(OBJECTS)
|
||||
|
||||
run:
|
||||
./echoserver
|
||||
Loading…
Add table
Add a link
Reference in a new issue