18 lines
368 B
Makefile
Raw Normal View History

2017-05-05 19:33:26 -07:00
EX=reflex2q3
2017-04-06 18:23:47 -07:00
CC=g++
CFLAGS=-std=c++11 -I"includes" -I"/usr/include/eigen3"
2017-05-05 19:33:26 -07:00
all: main
2017-04-06 18:23:47 -07:00
2017-05-05 19:33:26 -07:00
main: planes.o brushdef.o oopless-parser.o
$(CC) $^ main.cpp $(CFLAGS) -DV8 -o $(EX) 2>error8.log
2017-04-06 18:23:47 -07:00
2017-05-05 19:33:26 -07:00
oopless-parser.o: includes/oopless-parser.cpp
2017-04-11 08:27:10 -07:00
$(CC) -c $^ $(CFLAGS)
brushdef.o: includes/brushdef.cpp
2017-04-11 08:27:10 -07:00
$(CC) -c $^ $(CFLAGS)
planes.o: includes/planes.cpp
$(CC) -c $^ $(CFLAGS)