diff --git a/Makefile b/Makefile index e69de29..cccbcd6 100644 --- a/Makefile +++ b/Makefile @@ -0,0 +1,25 @@ +## Makefile for uTicTacToe project +## -- +## + +# flags +CC=gcc +CFLAGS=-Wall -g -std=c99 +CPPFLAGS= + +all: build + +build: src/utictactoe.c + $(CC) $(CFQLGS) $< -o src\utictactoe + +.PHONY: clean help + +clean: ## Clean files + rm -f src\*.o src\utictactoe + +help: + @echo "Makefile pour UTicTacToe" + @echo "--" + @echo " all: tout compiler" + @echo "build: compiler utictactoe" + @echo "clean: nettoyer"