2017-04-07 06:53:47 +05:30
|
|
|
EXV6=reflex2q3_v6
|
|
|
|
EXV8=reflex2q3_v8
|
|
|
|
CC=g++
|
|
|
|
CFLAGS=-std=c++11 -I"includes" -I"/usr/include/eigen3"
|
|
|
|
|
|
|
|
all: v6 v8
|
|
|
|
|
2017-04-12 12:48:29 +05:30
|
|
|
v6: planes.o brushdef.o v6mapparser.o
|
|
|
|
$(CC) $^ main.cpp $(CFLAGS) -DV6 -o $(EXV6) 2>error6.log
|
2017-04-07 06:53:47 +05:30
|
|
|
|
2017-04-12 12:48:29 +05:30
|
|
|
v8: planes.o brushdef.o v6mapparser.o v8mapparser.o
|
|
|
|
$(CC) $^ main.cpp $(CFLAGS) -DV8 -o $(EXV8) 2>error8.log
|
2017-04-07 20:49:51 +05:30
|
|
|
|
2017-04-12 12:48:29 +05:30
|
|
|
v8mapparser.o: includes/v8mapparser.cpp
|
2017-04-11 20:57:10 +05:30
|
|
|
$(CC) -c $^ $(CFLAGS)
|
2017-04-07 20:49:51 +05:30
|
|
|
|
2017-04-12 12:48:29 +05:30
|
|
|
v6mapparser.o: includes/v6mapparser.cpp
|
2017-04-11 20:57:10 +05:30
|
|
|
$(CC) -c $^ $(CFLAGS)
|
2017-04-07 20:49:51 +05:30
|
|
|
|
2017-04-12 12:48:29 +05:30
|
|
|
brushdef.o: includes/brushdef.cpp
|
2017-04-11 20:57:10 +05:30
|
|
|
$(CC) -c $^ $(CFLAGS)
|
|
|
|
|
|
|
|
planes.o: includes/planes.cpp
|
|
|
|
$(CC) -c $^ $(CFLAGS)
|