2017-08-20 08:00:14 +05:30
|
|
|
EX=reflex2q3
|
|
|
|
CC=g++
|
2023-03-24 21:11:50 +05:30
|
|
|
CFLAGS=-static -static-libgcc -static-libstdc++ -I"/mingw64/include/eigen3" -I"include" -I"lib/Catch/single_include/catch2" -I"lib/cxxopts/include" -I"/usr/include/eigen3" -I"/usr/local/include/eigen3"
|
2017-08-26 13:37:14 +05:30
|
|
|
TESTEX=runtests
|
2017-08-20 08:00:14 +05:30
|
|
|
|
|
|
|
all: main test
|
|
|
|
|
|
|
|
main: planes.o brushdef.o oopless-parser.o EntityConverter.o
|
2017-08-24 09:00:27 +05:30
|
|
|
$(CC) $^ src/main.cpp $(CFLAGS) -o $(EX)
|
2017-08-20 08:00:14 +05:30
|
|
|
|
|
|
|
test: planes.o brushdef.o oopless-parser.o EntityConverter.o catch.o
|
|
|
|
$(CC) $^ $(CFLAGS) -o $(TESTEX)
|
|
|
|
cp runtests .git/hooks/pre-commit
|
|
|
|
|
|
|
|
catch.o: test/catch.cpp
|
|
|
|
$(CC) -c $^ $(CFLAGS)
|
|
|
|
|
|
|
|
oopless-parser.o: src/oopless-parser.cpp
|
|
|
|
$(CC) -c $^ $(CFLAGS)
|
|
|
|
|
|
|
|
brushdef.o: src/brushdef.cpp
|
|
|
|
$(CC) -c $^ $(CFLAGS)
|
|
|
|
|
|
|
|
planes.o: src/planes.cpp
|
|
|
|
$(CC) -c $^ $(CFLAGS)
|
|
|
|
|
|
|
|
EntityConverter.o: src/EntityConverter.cpp
|
|
|
|
$(CC) -c $^ $(CFLAGS)
|
|
|
|
|
|
|
|
clean:
|
2017-10-11 06:49:58 +05:30
|
|
|
rm *.o $(EX)
|
2017-08-20 08:00:14 +05:30
|
|
|
|
2023-03-23 12:35:59 +05:30
|
|
|
# From https://github.com/philsquared/Catch
|
|
|
|
# 64a53355..908c370f Catch1.x -> origin/Catch1.x
|
|
|
|
# * [new branch] devel -> origin/devel
|
|
|
|
# * [new branch] devel-refactorings-virtuals -> origin/devel-refactorings-virtuals
|
|
|
|
# * [new branch] v2.x -> origin/v2.x
|
|
|
|
# * [new tag] v2.13.10 -> v2.13.10
|
|
|
|
# * [new tag] v2.13.2 -> v2.13.2
|
|
|
|
# * [new tag] v2.13.3 -> v2.13.3
|
|
|
|
# * [new tag] v2.13.4 -> v2.13.4
|
|
|
|
# * [new tag] v2.13.5 -> v2.13.5
|
|
|
|
# * [new tag] v2.13.6 -> v2.13.6
|
|
|
|
# * [new tag] v2.13.7 -> v2.13.7
|
|
|
|
# * [new tag] v2.13.8 -> v2.13.8
|
|
|
|
# * [new tag] v2.13.9 -> v2.13.9
|
|
|
|
# * [new tag] v3.0.0-preview3 -> v3.0.0-preview3
|
|
|
|
# * [new tag] v3.0.0-preview4 -> v3.0.0-preview4
|
|
|
|
# * [new tag] v3.0.0-preview5 -> v3.0.0-preview5
|
|
|
|
# * [new tag] v3.0.1 -> v3.0.1
|
|
|
|
# * [new tag] v3.1.0 -> v3.1.0
|
|
|
|
# * [new tag] v3.1.1 -> v3.1.1
|
|
|
|
# * [new tag] v3.2.0 -> v3.2.0
|
|
|
|
# * [new tag] v3.2.1 -> v3.2.1
|
|
|
|
# * [new tag] v3.3.0 -> v3.3.0
|
|
|
|
# * [new tag] v3.3.1 -> v3.3.1
|
|
|
|
# * [new tag] v3.3.2 -> v3.3.2
|