2017-04-06 18:23:47 -07:00
|
|
|
EXV6=reflex2q3_v6
|
|
|
|
EXV8=reflex2q3_v8
|
|
|
|
CC=g++
|
|
|
|
CFLAGS=-std=c++11 -I"includes" -I"/usr/include/eigen3"
|
|
|
|
|
|
|
|
all: v6 v8
|
|
|
|
|
2017-04-11 08:27:10 -07:00
|
|
|
v6: planes.o brushdef.o mapparser.o
|
2017-04-07 08:19:51 -07:00
|
|
|
$(CC) $^ main.cpp $(CFLAGS) -o $(EXV6) 2>error6.log
|
2017-04-06 18:23:47 -07:00
|
|
|
|
2017-04-11 08:27:10 -07:00
|
|
|
v8: planes.o brushdef.o v8mapparser.o
|
2017-04-07 08:19:51 -07:00
|
|
|
$(CC) $^ main.cpp $(CFLAGS) -o $(EXV8) 2>error8.log
|
|
|
|
|
2017-04-11 08:27:10 -07:00
|
|
|
mapparser.o: includes/mapparser.cpp
|
|
|
|
$(CC) -c $^ $(CFLAGS)
|
2017-04-07 08:19:51 -07:00
|
|
|
|
2017-04-11 08:27:10 -07:00
|
|
|
v8mapparser.o: includes/v8mapparser.cpp
|
|
|
|
$(CC) -c $^ $(CFLAGS)
|
2017-04-07 08:19:51 -07:00
|
|
|
|
2017-04-11 08:27:10 -07:00
|
|
|
brushdef.o: planes.o includes/brushdef.cpp
|
|
|
|
$(CC) -c $^ $(CFLAGS)
|
|
|
|
|
|
|
|
planes.o: includes/planes.cpp
|
|
|
|
$(CC) -c $^ $(CFLAGS)
|