General refactor and minor improvements

This commit is contained in:
2025-10-18 18:56:28 +02:00
parent 103f85d07e
commit 6b0e858064
13 changed files with 616 additions and 466 deletions

View File

@@ -1,5 +1,5 @@
CC = gcc
CFLAGS = -std=c11 -Wextra -Wpedantic -g3 -fsanitize=address
CFLAGS = -std=c11 -Wextra -Wpedantic -pthread -g3 -fsanitize=address
LDFLAGS = -lncurses -fsanitize=address
SRC = $(filter-out voorbeeld.c,$(wildcard *.c))
HEADERS = $(wildcard *.h)
@@ -17,7 +17,7 @@ voorbeeld:
tarball1: deel1.tar.gz
tarball2: deel2.tar.gz
deel1.tar.gz: spel.c rooster.h rooster.c Makefile
deel1.tar.gz: spel.c grid.h grid.c Makefile
tar czf $@ $^
deel2.tar.gz: $(SRC) $(HEADERS) Makefile