radare2/libr/asm/p/arc.mk

19 lines
463 B
Makefile

OBJ_ARC=asm_arc.o
OBJ_ARC+=../arch/arc/gnu/arc-dis.o
OBJ_ARC+=../arch/arc/gnu/arc-ext.o
OBJ_ARC+=../arch/arc/gnu/arc-opc.o
OBJ_ARC+=../arch/arc/gnu/arcompact-dis.o
SHARED2_ARC=$(addprefix ../,${SHARED_ARC})
STATIC_OBJ+=${OBJ_ARC}
SHARED_OBJ+=${SHARED_ARC}
TARGET_ARC=asm_arc.${EXT_SO}
ifeq ($(WITHPIC),1)
ALL_TARGETS+=${TARGET_ARC}
${TARGET_ARC}: ${OBJ_ARC}
${CC} $(call libname,asm_arc) ${LDFLAGS} ${CFLAGS} -o ${TARGET_ARC} ${OBJ_ARC} ${SHARED2_ARC}
endif