Write level0 Makefile
This commit is contained in:
parent
81c34439a3
commit
1623df8006
1 changed files with 25 additions and 0 deletions
25
Makefile
25
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"
|
Loading…
Add table
Add a link
Reference in a new issue