2017-05-06 08:03:26 +05:30
|
|
|
EX=reflex2q3
|
2017-04-07 06:53:47 +05:30
|
|
|
CC=g++
|
2017-07-10 15:37:18 +05:30
|
|
|
CFLAGS=-std=c++11 -I"./includes" -I"./includes/Catch/single_include" -I"./includes/cxxopts/include" -I"/usr/include/eigen3"
|
2017-07-18 04:32:01 +05:30
|
|
|
TESTEX=test/catch
|
2017-04-07 06:53:47 +05:30
|
|
|
|
2017-07-18 04:32:01 +05:30
|
|
|
all: main test
|
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
|
|
|
|
|
2017-07-18 04:32:01 +05:30
|
|
|
test: EntityConverter.o catch.o
|
2017-06-07 06:52:54 +05:30
|
|
|
$(CC) $^ $(CFLAGS) -o $(TESTEX)
|
2017-07-06 05:15:57 +05:30
|
|
|
mv test/catch ../.git/hooks/pre-commit
|
2017-07-04 10:49:50 +05:30
|
|
|
|
|
|
|
catch.o: test/catch.cpp
|
|
|
|
$(CC) -c $^ $(CFLAGS)
|
|
|
|
|
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:
|
2017-07-15 13:56:03 +05:30
|
|
|
rm *.o *.log $(EX)
|
2017-06-07 06:52:54 +05:30
|
|
|
|