radare2/libr/asm/p/riscv.mk
2015-11-01 00:20:58 +01:00

15 lines
336 B
Makefile

OBJ_RISCV=asm_riscv.o
#implicitly included
#OBJ_RISCV+=../arch/riscv/riscv.o
#OBJ_RISCV+=../arch/riscv/riscv-opc.o
STATIC_OBJ+=${OBJ_RISCV}
TARGET_RISCV=asm_riscv.${EXT_SO}
ifeq ($(WITHPIC),1)
ALL_TARGETS+=${TARGET_RISCV}
${TARGET_RISCV}: ${OBJ_RISCV}
${CC} ${call libname,asm_RISCV} ${CFLAGS} -o ${TARGET_RISCV} ${OBJ_RISCV}
endif