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

16 lines
386 B
Makefile

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