mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 16:18:33 +00:00
25 lines
542 B
Makefile
25 lines
542 B
Makefile
OBJ_EWF=io_ewf.o
|
|
|
|
STATIC_OBJ+=${OBJ_EWF}
|
|
TARGET_EWF=io_ewf.${EXT_SO}
|
|
ALL_TARGETS+=${TARGET_EWF}
|
|
|
|
ifeq (${HAVE_LIB_EWF},1)
|
|
CFLAGS+=${EWF_CFLAGS}
|
|
LDFLAGS+=${EWF_LDFLAGS}
|
|
endif
|
|
#/opt/local/include
|
|
|
|
ifeq (${WITHPIC},0)
|
|
LINKFLAGS+=../../util/libr_util.a
|
|
LINKFLAGS+=../../lib/libr_lib.a
|
|
LINKFLAGS+=../../io/libr_io.a
|
|
else
|
|
LINKFLAGS+=-L../../lib -lr_lib
|
|
LINKFLAGS+=-L../../util -lr_util
|
|
LINKFLAGS+=-L.. -L../../lib -lr_lib -lr_io
|
|
endif
|
|
|
|
${TARGET_EWF}: ${OBJ_EWF}
|
|
${CC_LIB} $(call libname,io_ewf) ${CFLAGS} -o ${TARGET_EWF} ${OBJ_EWF} ${LINKFLAGS}
|