CC=gcc
Executable=Robin_BF
Header=header.h
OFiles=robin.o bf.o table.o
CFLAGS+=-L/usr/local/lib -lgsl -lgslcblas -lm -Os -o

%.o: %.c $(Header)
	$(CC) -c -o $@ $<

$(Executable):$(OFiles) $(Header)
	gcc -$(CFLAGS) $(Executable) $(OFiles)

clean:
	rm -f Robin_BF
	rm -f *.o
	rm -f *~
