openh264/build/platform-darwin.mk

15 lines
323 B
Makefile
Raw Normal View History

2014-02-19 02:54:27 +01:00
include build/platform-x86-common.mk
ASM = nasm
2014-02-19 02:54:27 +01:00
SHAREDLIBSUFFIX = dylib
SHARED = -dynamiclib
CFLAGS += -Werror -fPIC -DMACOS -DMT_ENABLED -MMD -MP
LDFLAGS += -lpthread
2014-01-03 07:49:45 +01:00
ASMFLAGS += --prefix _ -DNOPREFIX
ifeq ($(ENABLE64BIT), Yes)
ASMFLAGS += -f macho64
else
ASMFLAGS += -f macho
LDFLAGS += -read_only_relocs suppress
2014-01-03 07:49:45 +01:00
endif