CC = gcc CFLAGS = -Wall -lgsl -lgslcblas -L/usr/local/lib Executable = Haytham_HW_13 Ofiles = Haytham_HW_13.o QR.o VecMat_alloc.o VecMat_io.o Compare.o MatCheck.o Header = Header.h $(Executable): $(Ofiles) $(Header) $(CC) $(CFLAGS) $(Ofiles) -o $(Executable) %.o: %.c $(Header) $(CC) $(CFLAGS) -c $< clean: rm -f *~ rm -f Haytham_HW_13 rm -f *.o rm -f out