~verifypn-cpn/verifypn/col_weight_fix

« back to all changes in this revision

Viewing changes to makefile.osx32

  • 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
# For bash on OS X, as /bin/sh is compiled with --enable-strict-posix-default
 
2
SHELL                   = /bin/bash
 
3
 
 
4
# Programs for processing
 
5
LEX                             = false
 
6
YACC                    = false
 
7
CC                              = gcc
 
8
CUT                             = cut
 
9
 
 
10
# Compiler and linker flags
 
11
CFLAGS                  = -m32 -O3 -I.
 
12
LDFLAGS                 = -m32 -O3 lpsolve/liblpsolve55-osx32.a -lstdc++
 
13
 
 
14
# Input files
 
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)
 
20
OBJECTS                 = $(SOURCES:.cpp=.o)
 
21
TARGET                  = verifypn-osx32
 
22
 
 
23
include rules.mk