2017-05-06 08:03:26 +05:30
|
|
|
EX=reflex2q3
|
2017-04-07 06:53:47 +05:30
|
|
|
CC=g++
|
2017-07-03 08:52:09 +05:30
|
|
|
CFLAGS=-std=c++11 -I"./includes" -I"./includes/cxxopts/include" -I"/usr/include/eigen3"
|
2017-06-07 06:52:54 +05:30
|
|
|
TESTEX=test/test-parser
|
2017-04-07 06:53:47 +05:30
|
|
|
|
2017-07-03 08:52:09 +05:30
|
|
|
all: main
|
2017-04-07 06:53:47 +05:30
|
|
|
|
2017-06-07 06:52:54 +05:30
|
|
|
main: planes.o brushdef.o oopless-parser.o EntityConverter.o
|
2017-05-07 06:26:12 +05:30
|
|
|
$(CC) $^ main.cpp $(CFLAGS) -o $(EX) 2>error8.log
|
|
|
|
|
|
|
|
test: planes.o brushdef.o oopless-parser.o test-parser.o
|
2017-06-07 06:52:54 +05:30
|
|
|
$(CC) $^ $(CFLAGS) -o $(TESTEX)
|
2017-05-07 06:26:12 +05:30
|
|
|
|
|
|
|
test-parser.o: test/test-parser.cpp
|
|
|
|
$(CC) -c $^ $(CFLAGS)
|
2017-04-07 06:53:47 +05:30
|
|
|
|
2017-05-06 08:03:26 +05:30
|
|
|
oopless-parser.o: includes/oopless-parser.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)
|
2017-06-07 06:52:54 +05:30
|
|
|
|
|
|
|
EntityConverter.o: includes/EntityConverter.cpp
|
|
|
|
$(CC) -c $^ $(CFLAGS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm *.o *.log $(EX) $(TESTEX)
|
|
|
|
|