doc-entities.txt and minor cleanup

This commit is contained in:
suhrke
2017-07-17 16:02:01 -07:00
parent 168818b9b0
commit f00fe06b14
4 changed files with 180 additions and 13 deletions

View File

@@ -1,24 +1,17 @@
EX=reflex2q3
CC=g++
CFLAGS=-std=c++11 -I"./includes" -I"./includes/Catch/single_include" -I"./includes/cxxopts/include" -I"/usr/include/eigen3"
TESTEX=test/test-parser
UNITEX=test/catch
TESTEX=test/catch
all: main unittest
all: main test
main: planes.o brushdef.o oopless-parser.o EntityConverter.o
$(CC) $^ main.cpp $(CFLAGS) -o $(EX) 2>error8.log
test: planes.o brushdef.o oopless-parser.o test-parser.o
test: EntityConverter.o catch.o
$(CC) $^ $(CFLAGS) -o $(TESTEX)
unittest: EntityConverter.o catch.o
$(CC) $^ $(CFLAGS) -o $(UNITEX)
mv test/catch ../.git/hooks/pre-commit
test-parser.o: test/test-parser.cpp
$(CC) -c $^ $(CFLAGS)
catch.o: test/catch.cpp
$(CC) -c $^ $(CFLAGS)