~verifypn-cpn/verifypn/col_weight_fix

« back to all changes in this revision

Viewing changes to makefile.linux32

  • Committer: Jonas Finnemann Jensen
  • Date: 2013-10-19 05:57:48 UTC
  • Revision ID: jopsen@gmail.com-20131019055748-ujmf009kwz6k6x3v
Support for osx32 and osx64 bit builds, we now have ugly binaries in source tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Programs for processing
 
2
LEX                             = flex
 
3
YACC                    = bison
 
4
CC                              = g++
 
5
CUT                             = cut
 
6
 
 
7
# Compiler and linker flags
 
8
CFLAGS                  = -m32 -O3 -I.
 
9
LDFLAGS                 = -m32 -O3 /usr/lib/liblpsolve55.a -lcolamd -ldl
 
10
 
 
11
# Input files
 
12
FLEX_SOURCES    = $(shell find * -name "*.l")
 
13
BISON_SOURCES   = $(shell find * -name "*.y")
 
14
SOURCES                 = $(shell find * -name "*.cpp" | grep -v ".\\(parser\\|lexer\\).cpp")           \
 
15
                                  $(BISON_SOURCES:.y=.parser.cpp)                                                                                       \
 
16
                                  $(FLEX_SOURCES:.l=.lexer.cpp)
 
17
OBJECTS                 = $(SOURCES:.cpp=.o)
 
18
TARGET                  = verifypn-linux32
 
19
 
 
20
include rules.mk
 
21