Write level0 Makefile

This commit is contained in:
Yorick Barbanneau 2021-09-13 23:42:30 +02:00
parent 81c34439a3
commit 1623df8006

View file

@ -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"