~verifypn-cpn/verifypn/colored

35 by Jonas Finnemann Jensen
Support for osx32 and osx64 bit builds, we now have ugly binaries in source tree
1
# Programs for processing
2
LEX				= flex
3
YACC			= bison
4
CC				= g++
5
CUT				= cut
6
7
# Compiler and linker flags
152.32.36 by Peter G. Jensen
removed flag not supported by gcc6
8
CFLAGS			= -fPIC -flto -march=x86-64 -std=c++14  -m64 -I.
190.5.1 by Peter G. Jensen
compiles, untested
9
LDFLAGS			= -flto=4 -march=x86-64 -std=c++14  -m64 lpsolve/liblpsolve55-linux64.a \
78 by Peter Gjøl Jensen
makefiles, still needs work
10
              -static-libgcc -static-libstdc++ 
79 by Peter Gjøl Jensen
modifications for competition
11
# -Wl,-Bstatic -ldl -lm -lc -Wl,-Bdynamic -lpthread 
35 by Jonas Finnemann Jensen
Support for osx32 and osx64 bit builds, we now have ugly binaries in source tree
12
13
# Input files
14
FLEX_SOURCES	= $(shell find * -name "*.l")
15
BISON_SOURCES	= $(shell find * -name "*.y")
16
SOURCES			= $(shell find * -name "*.cpp" | grep -v ".\\(parser\\|lexer\\).cpp")		\
17
				  $(BISON_SOURCES:.y=.parser.cpp)											\
18
				  $(FLEX_SOURCES:.l=.lexer.cpp)
19
OBJECTS			= $(SOURCES:.cpp=.o)
152.4.54 by Mads Johannsen
Renamed executable
20
TARGET			= verifypn-linux64
35 by Jonas Finnemann Jensen
Support for osx32 and osx64 bit builds, we now have ugly binaries in source tree
21
22
include rules.mk