OBJS = bellman.o construire.o topo.o algoBellman.o afficher.o pile.o 

bellman : $(OBJS)
	gcc -o bellman $(OBJS) -lm

bellman.o: bellman.c bellman.h
	gcc -c bellman.c

construire.o: construire.c bellman.h
	gcc -c construire.c

topo.o: topo.c bellman.h
	gcc -c topo.c

algoBellman.o: algoBellman.c bellman.h
	gcc -c algoBellman.c

afficher.o: afficher.c bellman.h
	gcc -c afficher.c

pile.o: pile.c bellman.h
	gcc -c pile.c

