Skip to content
Snippets Groups Projects
Commit 0610d42e authored by TALY YASSINE's avatar TALY YASSINE
Browse files

makefile modifié

parent 61d29ab8
Branches
Tags
No related merge requests found
Pipeline #17999 passed with stages
in 4 minutes and 11 seconds
......@@ -9,9 +9,24 @@ WARNFLAGS := -Wall -Wpedantic -Wextra -Waddress -Waggressive-loop-optimizations
all: lavie
lavie:
lavie: main.o grille.o io.o jeu.o
gcc -g -o lavie main.o io.o jeu.o grille.o -lm
lavie:
echo "#!/bin/sh" > $@ && echo "true" >> $@ && chmod u+x $@
main.o : main.c io.h grille.h jeu.h
gcc -c main.c
io.o : io.c io.h grille.h jeu.h
gcc -c io.c
grille.o: grille.c grille.h
gcc -c grille.c
jeu.o : jeu.c jeu.h grille.h
gcc -c jeu.c
check: lavie
@./test/test_gol_execution.sh
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment