From 1623df8006a5e565ba3960952f82be42269a24d8 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Mon, 13 Sep 2021 23:42:30 +0200 Subject: [PATCH] Write level0 Makefile --- Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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"