Ajout dÃpendances dans Makefiles + untrack Donnees
This commit is contained in:
parent
aeed5a37f5
commit
56b18ba616
@ -17,6 +17,11 @@ all: $(OBJ)/controleur.o $(OBJ)/conversion.o $(OBJ)/destruction.o $(OBJ)/miscell
|
||||
$(OBJ)/%.o: %.c %.h
|
||||
$(CC) -c -o $@ $< $(CFLAGS) $(GFLAGS)
|
||||
|
||||
$(OBJ)/controleur.h: ../Modele/load.h ../Modele/calcul.h ../Vue/vue.h conversion.h destruction.h miscellaneous.h
|
||||
$(OBJ)/conversion.h: controleur.h
|
||||
$(OBJ)/destruction.h: controleur.h
|
||||
$(OBJ)/miscellaneous.h: controleur.h
|
||||
|
||||
debug:
|
||||
make DEBUG=1
|
||||
|
||||
|
2
Makefile
2
Makefile
@ -26,7 +26,7 @@ recursive:
|
||||
make $(ARG) -C Controleur
|
||||
make $(ARG) -C Modele
|
||||
|
||||
$(OBJ)/main.o: main.c
|
||||
$(OBJ)/main.o: main.c Vue/vue.h
|
||||
$(CC) -c -o $@ $< $(CFLAGS) $(GFLAGS)
|
||||
|
||||
debug:
|
||||
|
@ -14,9 +14,11 @@ endif
|
||||
|
||||
all: $(OBJ)/load.o $(OBJ)/agglo.o $(OBJ)/calcul.o $(OBJ)/others.o
|
||||
|
||||
$(OBJ)/%.o: %.c %.h
|
||||
$(OBJ)/%.o: %.c %.h ../Headers/structures.h
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
$(OBJ)/agglo.h: calcul.h
|
||||
|
||||
debug:
|
||||
make DEBUG=1
|
||||
|
||||
|
@ -18,6 +18,12 @@ all: $(OBJ)/vue.o $(OBJ)/creation.o $(OBJ)/chargement.o $(OBJ)/selection.o $(OBJ
|
||||
$(OBJ)/%.o: %.c %.h
|
||||
$(CC) -c -o $@ $< $(CFLAGS) $(GFLAGS)
|
||||
|
||||
$(OBJ)/vue.h: affichage.h chargement.h creation.h selection.h
|
||||
$(OBJ)/creation.h: vue.h
|
||||
$(OBJ)/chargement.h: vue.h
|
||||
$(OBJ)/selection.h: vue.h
|
||||
$(OBJ)/affichage.h: vue.h
|
||||
|
||||
debug:
|
||||
make DEBUG=1
|
||||
|
||||
|
Reference in New Issue
Block a user