CXX = g++ -g -O2 -Wall $(ln3INCDIR) # Set the following to the path where your ln3 is installed ln3PREFIX = /c/cs467/ln3 ln3INCDIR = -I$(ln3PREFIX)/include ln3LIBDIR = -L$(ln3PREFIX)/lib ln3LIB = -lln3 OBJ = matinvert.o matrix.o error.o matinvert: $(OBJ) $(CXX) -o $@ $(OBJ) $(ln3LIBDIR) $(ln3LIB) clean: rm -f *.o matinvert # Dependencies error.o: error.cc error.h matinvert.o: matinvert.cc matrix.h matrix.o: matrix.cc error.h matrix.h