1
# For bash on OS X, as /bin/sh is compiled with --enable-strict-posix-default
4
# Programs for processing
7
CC = x86_64-w64-mingw32-g++
10
# Compiler and linker flags
12
LDFLAGS = -flto=4 -static -static-libgcc -static-libstdc++ -L. -Wl,--enable-stdcall-fixup -Wl,-Bdynamic -llpsolve55 -Wl,-Bstatic -lpthread
15
FLEX_SOURCES = $(shell find * -name "*.l")
16
BISON_SOURCES = $(shell find * -name "*.y")
17
SOURCES = $(shell find * -name "*.cpp" | grep -v ".\\(parser\\|lexer\\).cpp") \
18
$(BISON_SOURCES:.y=.parser.cpp) \
19
$(FLEX_SOURCES:.l=.lexer.cpp)
21
OBJECTS = $(SOURCES:.cpp=.o)
22
TARGET = verifypn-win64
26
lpsolve55.dll: lpsolve/lpsolve55-win64.dll