feat: Day4_1 read input

This commit is contained in:
s-prechtl 2024-12-05 20:21:14 +01:00
parent 8c2a59e6c3
commit bc42b0ff30
3 changed files with 112 additions and 0 deletions

17
2024/Day4/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/*