radare2/libr/bin/p/ninds.mk
2017-05-09 14:25:57 +02:00

16 lines
378 B
Makefile

OBJ_NINDS=bin_ninds.o
STATIC_OBJ+=${OBJ_NINDS}
TARGET_NINDS=bin_ninds.${EXT_SO}
ALL_TARGETS+=${TARGET_NINDS}
${TARGET_NINDS}: ${OBJ_NINDS}
ifeq ($(CC),cccl)
${CC} $(call libname,bin_ninds) ${CFLAGS} $(OBJ_NINDS) $(LINK) $(LDFLAGS) \
-L../../magic -llibr_magic
else
${CC} $(call libname,bin_ninds) ${CFLAGS} $(OBJ_NINDS) $(LINK) $(LDFLAGS) \
-L../../magic -lr_magic
endif