sock_inet

This commit is contained in:
Imbus 2025-12-27 02:08:09 +01:00
parent b3763ff62c
commit 7012521d08
5 changed files with 245 additions and 0 deletions

19
socket_inet/Makefile Normal file
View file

@ -0,0 +1,19 @@
CC ?= gcc
CFLAGS ?= -Wall -g
all: server.elf client.elf
server.elf: server.c
client.elf: client.c
%.elf: %.c
@echo CC $@
@$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
test: all
bash test.sh
clean:
rm -f *.elf *.o
.PHONY: test clean