Added makefile

This commit is contained in:
AnnaSnoeijs 2025-06-06 21:31:59 +02:00
parent 37b26da28e
commit b7c834efe6

12
makefile Normal file
View file

@ -0,0 +1,12 @@
#!/usr/bin/make -f
FLAGS = -O3 -pedantic -Wall -Wextra -Werror -Wuseless-cast -Wuninitialized \
-Walloc-size -Walloc-zero -Wduplicated-branches -Wduplicated-cond
AnnaConnect: connect4.c
cc $(FLAGS) -o connect4 connect4.c
run: AnnaConnect
./connect4
clean:
rm connect4