CFLAGS = -Wall -std=gnu1x -I../matrix.gc LDLIBS = -lgc -lm all:out.txt cat $< out.txt:main ./$< > $@ main: main.o matrix.o qr_gs.o main.o matrix.o: ../matrix.gc/matrix.h matrix.o: ../matrix.gc/matrix.c $(CC) -c $(CFLAGS) $< -o $@ clean: find . -type f -executable -delete rm -f *.o out* log*