314
by Jiri Srba
added mac osx makefiles |
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 = flex |
|
6 |
YACC = bison |
|
7 |
CC = gcc |
|
8 |
CUT = cut |
|
9 |
||
10 |
# Compiler and linker flags
|
|
324
by Jiri Srba
updated makefiles for OSX for compatibility from MAC OSX 10.9 and up; |
11 |
COMMONFLAGS = -DBOOST_DISABLE_THREADS -DNDEBUG -DDISABLE_ASSERTX -O3 -Wall -mtune=core2 -mmacosx-version-min=10.9 -m64 |
323
by Jiri Srba
updated makefiles for mac os x |
12 |
CFLAGS = $(COMMONFLAGS) -I. -I -I/usr/local/include -I/opt/local/include -I |
13 |
LDFLAGS = $(COMMONFLAGS) -lstdc++ |
|
314
by Jiri Srba
added mac osx makefiles |
14 |
|
15 |
# Input files
|
|
16 |
SOURCES = $(shell find * -name "*.cpp") |
|
17 |
OBJECTS = $(SOURCES:.cpp=.o) |
|
18 |
TARGET = verifydtapn-osx64 |
|
19 |
||
20 |
include rules.mk
|