feat: ready to go

This commit is contained in:
s-prechtl 2024-12-01 00:03:38 +01:00
parent 2cee4e9b04
commit 1e29d0707a
2 changed files with 21 additions and 0 deletions

16
2024/Day1/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/*

View file

@ -0,0 +1,5 @@
#include <stdio.h>
int main(void) {
printf("TEST");
return 0;
}