CIBLE = test_abr # nom du fichier contenant le main CFLAGS = -Wall -pedantic -g #options du compilateur LDFLAGS = #options du linker ########################################### SHELL = /bin/sh CC = gcc #nom du compilateur SRCS = arbre.c list.c memoire.c pile.c test_abr.c OBJ = $(SRCS:.c=.o) $(CIBLE): $(OBJ) clean: rm -f $(OBJ) $(CIBLE) *~ arbre.o: arbre.c arbre.h objet_definitions.h memoire.h pile.h list.o: list.c list.h memoire.o: memoire.c pile.o: pile.c pile.h list.h test_abr.o: test_abr.c memoire.h arbre.h objet_definitions.h