add config support

This commit is contained in:
2026-07-30 13:18:41 +02:00
parent 215ed9705e
commit dc1aa5e5b6
124 changed files with 7402 additions and 8 deletions
@@ -0,0 +1,27 @@
CFLAGS := -O0 -g -fsanitize=address,undefined -std=c17 -Wmissing-declarations -Wall -Wextra -MMD
EXEC = test1
all: $(EXEC)
test1: test1.c
$(CC) $(CFLAGS) -o $@ $@.c
test: all
@echo
@echo =========================
@echo == merge test
@echo =========================
./test1
-include test1.d
clean:
rm -f *.o *.d $(EXEC)
distclean: clean
format:
clang-format -i *.[ch]
.PHONY: all clean distclean format test