EX=reflex2q3 CC=g++ CFLAGS=-std=c++11 -I"includes" -I"/usr/include/eigen3" all: main test main: planes.o brushdef.o oopless-parser.o $(CC) $^ main.cpp $(CFLAGS) -o $(EX) 2>error8.log test: planes.o brushdef.o oopless-parser.o test-parser.o $(CC) $^ $(CFLAGS) -o test/test-parser test-parser.o: test/test-parser.cpp $(CC) -c $^ $(CFLAGS) oopless-parser.o: includes/oopless-parser.cpp $(CC) -c $^ $(CFLAGS) brushdef.o: includes/brushdef.cpp $(CC) -c $^ $(CFLAGS) planes.o: includes/planes.cpp $(CC) -c $^ $(CFLAGS)