2013-12-10 18:57:32 +08:00
|
|
|
ASM = nasm
|
2014-01-23 15:16:29 +02:00
|
|
|
CFLAGS += -Werror -fPIC -DLINUX -DMT_ENABLED -MMD -MP
|
2013-12-16 09:31:00 +02:00
|
|
|
LDFLAGS += -lpthread
|
2014-01-03 14:49:45 +08:00
|
|
|
ASMFLAGS += -DNOPREFIX
|
|
|
|
ifeq ($(ENABLE64BIT), Yes)
|
|
|
|
ASMFLAGS += -f elf64
|
2014-01-05 14:12:47 +02:00
|
|
|
else
|
2014-01-03 14:49:45 +08:00
|
|
|
ASMFLAGS += -f elf32
|
|
|
|
endif
|
2013-12-10 18:57:32 +08:00
|
|
|
|