radare2/libr/asm/p/8051.mk
2017-06-18 10:23:04 +02:00

15 lines
310 B
Makefile

OBJ_8051=asm_8051.o
OBJ_8051+=../arch/8051/8051_disas.o
CFLAGS+=-I./arch/8051/
STATIC_OBJ+=${OBJ_8051}
TARGET_8051=asm_8051.${EXT_SO}
ifeq ($(WITHPIC),1)
ALL_TARGETS+=${TARGET_8051}
${TARGET_8051}: ${OBJ_8051}
${CC} $(call libname,asm_8051) ${LDFLAGS} ${CFLAGS} \
-o asm_8051.${EXT_SO} ${OBJ_8051}
endif