mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-07 05:41:43 +00:00
20 lines
430 B
Makefile
20 lines
430 B
Makefile
OBJ_ZIP=io_zip.o
|
|
|
|
STATIC_OBJ+=${OBJ_ZIP}
|
|
TARGET_ZIP=io_zip.${EXT_SO}
|
|
ALL_TARGETS+=${TARGET_ZIP}
|
|
|
|
CFLAGS+=-I../../shlr/zip/include
|
|
|
|
ifeq (${WITHPIC},0)
|
|
LINKFLAGS+=../../util/libr_util.a
|
|
LINKFLAGS+=../../io/libr_io.a
|
|
else
|
|
LINKFLAGS+=-L../../util -lr_util
|
|
LINKFLAGS+=-L.. -lr_io
|
|
endif
|
|
#LINKFLAGS+=../../../shlr/zip/librz.a
|
|
|
|
${TARGET_ZIP}: ${OBJ_ZIP}
|
|
${CC_LIB} $(call libname,io_zip) ${CFLAGS} -o ${TARGET_ZIP} ${OBJS} ${LINKFLAGS}
|