Static compilation for MinGW Windows 10 build
This commit is contained in:
parent
662f01150f
commit
dde573d436
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
|||||||
EX=reflex2q3
|
EX=reflex2q3
|
||||||
CC=g++
|
CC=g++
|
||||||
CFLAGS=-std=c++11 -I"/mingw64/include/eigen3" -I"include" -I"lib/Catch/single_include" -I"lib/cxxopts/include" -I"/usr/include/eigen3"
|
CFLAGS=-std=c++11 -static -static-libgcc -static-libstdc++ -I"/mingw64/include/eigen3" -I"include" -I"lib/Catch/single_include" -I"lib/cxxopts/include" -I"/usr/include/eigen3"
|
||||||
TESTEX=runtests
|
TESTEX=runtests
|
||||||
|
|
||||||
all: main test
|
all: main test
|
||||||
|
Loading…
Reference in New Issue
Block a user