Le problème du makefile est régler merci

This commit is contained in:
ozvann
2024-11-04 15:17:25 +01:00
parent 56b9a0ec9d
commit 82830babbf
4 changed files with 10 additions and 8 deletions

View File

@@ -5,8 +5,8 @@ but : game
# CHAPITRE 2 : VARIABLES
OFILES = taille.o \
menu.o \
main.o
menu.o \
main.o
#deplacement.o, pion.o, grille.o, obstacle.o
@@ -14,18 +14,20 @@ OFILES = taille.o \
CC = gcc
CFLAGS = -Wall -ansi -pedantic -g
CFLAGS = -Wall -ansi -pedantic
# CHAPITRE 3 : DEPENDANCES (REGLES IMPLICITES)
#deplacement.o : pion.h obstacle.h
menu.o : taille.h
menu.o : taille.h menu.h
#pion.o : deplacement.h obstacle.h
#taille.o : grille.h
taille.o : taille.h
#grille.o : menu.h
#obstacle.o : pion.h

BIN
game

Binary file not shown.

4
menu.c
View File

@@ -7,8 +7,8 @@
int Menu() {
int sourisx, sourisy, choix = 0, x = 100, y = 100; /* Initialisation des variable */
void Menu() {
int x = 100, y = 100; /* Initialisation des variable */
ChoisirCouleurDessin(CouleurParNom("black"));
EcrireTexte(x, y, "Taille de grille entre 3 et 9 :", 2); /* Implémentation du texte */
y = y + 50;

2
menu.h
View File

@@ -4,6 +4,6 @@
int Menu();
void Menu();
#endif