This commit is contained in:
Alexander Jacobsen 2026-07-17 23:01:12 +02:00
parent 5b8ce3781c
commit 592f15fa1d
5 changed files with 737 additions and 106 deletions

View file

@ -5,14 +5,17 @@ CFLAGS ?= -std=c11 -O2 -pthread \
-Wpointer-arith -Wwrite-strings
LDFLAGS ?= -pthread
TARGET := pixelflut-render
SRC := new.c
TARGETS := pixelflut-render pixelflut-bench
$(TARGET): $(SRC)
$(CC) $(CFLAGS) -o $@ $(SRC) $(LDFLAGS)
all: $(TARGETS)
pixelflut-render: new.c pixelflut.h
$(CC) $(CFLAGS) -o $@ new.c $(LDFLAGS)
pixelflut-bench: bench.c pixelflut.h
$(CC) $(CFLAGS) -o $@ bench.c $(LDFLAGS)
clean:
rm -f $(TARGET)
.PHONY: clean
rm -f $(TARGETS)
.PHONY: all clean