improve readability of new.c

This commit is contained in:
Alexander Jacobsen 2026-07-17 22:25:19 +02:00
parent 92500e1432
commit 5b8ce3781c
2 changed files with 240 additions and 126 deletions

18
Makefile Normal file
View file

@ -0,0 +1,18 @@
CC ?= cc
CFLAGS ?= -std=c11 -O2 -pthread \
-Wall -Wextra -Wpedantic -Wshadow -Wformat=2 \
-Wcast-align -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith -Wwrite-strings
LDFLAGS ?= -pthread
TARGET := pixelflut-render
SRC := new.c
$(TARGET): $(SRC)
$(CC) $(CFLAGS) -o $@ $(SRC) $(LDFLAGS)
clean:
rm -f $(TARGET)
.PHONY: clean