feat: Day2_1

This commit is contained in:
s-prechtl 2024-12-02 18:10:15 +01:00
parent b657f3fd71
commit c88c6782cc
4 changed files with 108 additions and 0 deletions

16
2024/Day2/Makefile Normal file
View file

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