radare2/libr/asm/p/chip8_pseudo.mk
2022-12-03 02:26:41 +01:00

19 lines
535 B
Makefile

OBJ_CHIP8PSEUDO+=$(LIBR)/arch/p/pseudo/chip8_pseudo.o
TARGET_CHIP8PSEUDO=parse_chip8_pseudo.${EXT_SO}
STATIC_OBJ+=${OBJ_CHIP8PSEUDO}
ifeq ($(CC),cccl)
LIBDEPS=-L../../util -llibr_util
LIBDEPS+=-L../../flag -llibr_flag
else
LIBDEPS=-L../../util -lr_util
LIBDEPS+=-L../../flag -lr_flag
endif
ifeq ($(WITHPIC),1)
ALL_TARGETS+=${TARGET_CHIP8PSEUDO}
${TARGET_CHIP8PSEUDO}: ${OBJ_CHIP8PSEUDO}
${CC} $(call libname,parse_chip8_pseudo) ${LIBDEPS} $(LDFLAGS) \
$(LDFLAGS_SHARED) ${CFLAGS} -o ${TARGET_CHIP8PSEUDO} ${OBJ_CHIP8PSEUDO}
endif