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

20 lines
458 B
Makefile

OBJ_ANY=bin_any.o
STATIC_OBJ+=${OBJ_ANY}
TARGET_ANY=bin_any.${EXT_SO}
ALL_TARGETS+=${TARGET_ANY}
include $(SHLR)/zip/deps.mk
${TARGET_ANY}: ${OBJ_ANY}
ifeq ($(CC),cccl)
${CC} $(call libname,bin_any) $(DL_LIBS) ${CFLAGS} $(OBJ_ANY) $(LINK) $(LDFLAGS) \
-L../../magic -llibr_magic \
-L../../util -llibr_util
else
${CC} $(call libname,bin_any) $(DL_LIBS) ${CFLAGS} $(OBJ_ANY) $(LINK) $(LDFLAGS) \
-L../../magic -lr_magic \
-L../../util -lr_util
endif