Added makefile
This commit is contained in:
parent
37b26da28e
commit
b7c834efe6
1 changed files with 12 additions and 0 deletions
12
makefile
Normal file
12
makefile
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue