CC=gcc
Executable=rebecca_hw13
Header=header.h
OFiles=rebecca_hw13.o vec.o matrix.o fB.o


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

$(Executable):$(OFiles) $(Header)
	gcc -lm -Os -o $(Executable) $(OFiles)

clean:
	rm -f $(Executable)
	rm -f $(OFiles)
	rm -f *~
	rm -f out
