feat: Day5_1 worky for example but no for real blyat

This commit is contained in:
s-prechtl 2024-12-11 15:32:43 +01:00
parent 84c9cbbbf4
commit 31e44a8da2
4 changed files with 2146 additions and 0 deletions

17
2024/Day5/Makefile Normal file
View file

@ -0,0 +1,17 @@
CC = gcc
CC_FLAGS = -Wall -Wextra -Werror -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/*