Created the second homework, aka "echoserver."

This commit is contained in:
Charles Descamps 2025-02-12 21:30:12 -07:00
parent e8882fa175
commit 2ff9635484
4 changed files with 168 additions and 0 deletions

20
echoserver/Makefile Normal file
View 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