feat: 2025 init + day1.1

This commit is contained in:
s-prechtl 2025-12-02 14:17:40 +01:00
parent 95f74be063
commit 96b7dcec41
27 changed files with 44 additions and 0 deletions

6
2024/Day11/.clang-format Normal file
View file

@ -0,0 +1,6 @@
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 100
PointerAlignment: Right
AlignAfterOpenBracket: BlockIndent
AlignArrayOfStructures: Left

17
2024/Day11/Makefile Normal file
View file

@ -0,0 +1,17 @@
CC = gcc
CC_FLAGS = -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -ggdb
CC_LINK_FLAGS =
.PHONY: all run clean
all: run
run: build
./target/main.o
build: src/main.c
mkdir -p target
$(CC) -o target/main.o src/main.c $(CC_FLAGS) $(CC_LINK_FLAGS)
chmod u+x target/main.o
clean:
rm -r target/*