1
0

proj: Add perf/

This commit is contained in:
2025-08-13 12:26:10 +02:00
parent b48c5b4921
commit 4c91cf7a6e
5 changed files with 73 additions and 1 deletions

16
proj/perf/Makefile Normal file
View File

@@ -0,0 +1,16 @@
CC=gcc
CFLAGS=-std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=200809L -g
.PHONY: all clean
all: default
default: main
main.o: main.c
$(CC) -c -o $@ $^ $(CFLAGS)
main: main.o
$(CC) -o $@ $^ $(CFLAGS) -lc
clean:
rm -rf main *.o