Revision 93c40d57 src/OSCrxtx/Makefile
| b/src/OSCrxtx/Makefile | ||
|---|---|---|
| 32 | 32 |
#------------------------------------------------------------------------------# |
| 33 | 33 |
|
| 34 | 34 |
# -I"$(PD_INCLUDE)/pd" supports the header location for 0.43 |
| 35 |
CFLAGS = -I"$(PD_INCLUDE)/pd" -Wall -W -g `pkg-config --cflags liblo`
|
|
| 35 |
CFLAGS = -I"$(PD_INCLUDE)/pd" -W -g `pkg-config --cflags liblo` |
|
| 36 | 36 |
LDFLAGS = |
| 37 | 37 |
#LIBS = `pkg-config --libs liblo` |
| 38 | 38 |
#LIBS=-Wl,-rpath-link, /opt/local/lib liblo.la |
| ... | ... | |
| 96 | 96 |
EXTENSION = pd_darwin |
| 97 | 97 |
OS = macosx |
| 98 | 98 |
PD_PATH = /Applications/Pd-extended.app/Contents/Resources |
| 99 |
OPT_CFLAGS = -ftree-vectorize -ftree-vectorizer-verbose=2 -fast
|
|
| 99 |
OPT_CFLAGS = -ftree-vectorize -fast |
|
| 100 | 100 |
# build universal 32-bit on 10.4 and 32/64 on newer |
| 101 | 101 |
ifeq ($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8) |
| 102 | 102 |
FAT_FLAGS = -arch ppc -arch i386 -mmacosx-version-min=10.4 |
| 103 | 103 |
else |
| 104 |
FAT_FLAGS = -arch ppc -arch i386 -arch x86_64 -mmacosx-version-min=10.4
|
|
| 104 |
FAT_FLAGS = -arch i386 -arch x86_64 -mmacosx-version-min=10.4 |
|
| 105 | 105 |
SOURCES += $(SOURCES_iphoneos) |
| 106 | 106 |
endif |
| 107 |
CFLAGS += $(FAT_FLAGS) -fPIC -I/sw/include
|
|
| 108 |
LDFLAGS += $(FAT_FLAGS) -bundle -undefined dynamic_lookup -L/sw/lib
|
|
| 107 |
CFLAGS += $(FAT_FLAGS) -fPIC |
|
| 108 |
LDFLAGS += $(FAT_FLAGS) -bundle -undefined dynamic_lookup |
|
| 109 | 109 |
# if the 'pd' binary exists, check the linking against it to aid with stripping |
| 110 | 110 |
LDFLAGS += $(shell test -e $(PD_PATH)/bin/pd && echo -bundle_loader $(PD_PATH)/bin/pd) |
| 111 | 111 |
LIBS += -lc |
Also available in: Unified diff