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

Delete Makefile

parent 1cf7f22b
No related merge requests found
Pipeline #18698 failed with stages
in 4 minutes and 10 seconds
.PHONY: all clean
WARNFLAGS := -Wall -Wpedantic -Wextra -Waddress -Waggressive-loop-optimizations \
-Wcast-qual -Wcast-align -Wmissing-declarations \
-Wdouble-promotion -Wuninitialized -Winit-self \
-Wstrict-aliasing -Wsuggest-attribute=const -Wtrampolines -Wfloat-equal \
-Wshadow -Wunsafe-loop-optimizations -Wlogical-op \
-Wdisabled-optimization -Wconversion -Wunused-result
all: 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
clean:
@$(RM) -f lavie *.o
@echo Clean!
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