radare2/libr/asm/p/tms320.mk

21 lines
591 B
Makefile

OBJ_TMS320=asm_tms320.o
OBJ_TMS320+=../arch/tms320/tms320_dasm.o
#../arch/tms320/c55x_plus/hashvector.o
OBJ_TMS320+=../arch/tms320/c55x_plus/c55plus.o \
../arch/tms320/c55x_plus/c55plus_decode.o \
../arch/tms320/c55x_plus/decode_funcs.o \
../arch/tms320/c55x_plus/hashtable.o \
../arch/tms320/c55x_plus/ins.o \
../arch/tms320/c55x_plus/utils.o
STATIC_OBJ+=${OBJ_TMS320}
TARGET_TMS320=asm_tms320.${EXT_SO}
ifeq ($(WITHPIC),1)
ALL_TARGETS+=${TARGET_TMS320}
${TARGET_TMS320}: ${OBJ_TMS320}
${CC} $(call libname,asm_tms320) ${LDFLAGS} ${CFLAGS} ${OBJ_TMS320}
endif