e415c3fe70
This makes it clearer which ones actually are real platforms (chosen automatically or explicitly via "make ARCH=foo") and which ones just are shared helpers.
16 lines
302 B
Makefile
16 lines
302 B
Makefile
include $(SRC_PATH)build/arch.mk
|
|
SHAREDLIBSUFFIX = dylib
|
|
SHARED = -dynamiclib
|
|
CFLAGS += -Wall -fPIC -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
|
|
|