mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 00:51:19 +00:00
19 lines
535 B
Makefile
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
|