16 lines
308 B
Makefile
16 lines
308 B
Makefile
include build/platform-arch.mk
|
|
SHAREDLIBSUFFIX = dylib
|
|
SHARED = -dynamiclib
|
|
CFLAGS += -Wall -fPIC -DMACOS -MMD -MP
|
|
LDFLAGS += -lpthread
|
|
ifeq ($(ASM_ARCH), x86)
|
|
ASMFLAGS += -DPREFIX
|
|
ifeq ($(ENABLE64BIT), Yes)
|
|
ASMFLAGS += -f macho64
|
|
else
|
|
ASMFLAGS += -f macho
|
|
LDFLAGS += -read_only_relocs suppress
|
|
endif
|
|
endif
|
|
|