CC = gcc #nom du compilateur CFLAGS = -Wall -pedantic -g #options du compilateur LDFLAGS = -O3 #options du linker SRCS = test_mat.c matrice.c OBJ = test_mat.o matrice.o test_mat: $(OBJ) test_mat.o: test_mat.c matrice.h matrice.o: matrice.h matrice.c indent: indent *.h *.c tar: tar -c *.h *.c makefile > MATRICE.tar clean: rm -f *.o *~ test_mat