1
0

proj: Add server.c in perf

This commit is contained in:
2025-09-01 10:20:57 +02:00
parent 783ef586f8
commit 3e55faa4bd
5 changed files with 136 additions and 3 deletions

View File

@@ -4,13 +4,16 @@ CFLAGS=-std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -
.PHONY: all clean
all: default
default: main
default: main server
main.o: main.c
%.o: %.c
$(CC) -c -o $@ $^ $(CFLAGS)
main: main.o
$(CC) -o $@ $^ $(CFLAGS) -lc
server: server.o
$(CC) -o $@ $^ $(CFLAGS) -lc
clean:
rm -rf main *.o