radare2/libr/io/p/gzip.mk
2014-09-05 14:47:35 +02:00

17 lines
371 B
Makefile

OBJ_GZIP=io_gzip.o
STATIC_OBJ+=${OBJ_GZIP}
TARGET_GZIP=io_gzip.${EXT_SO}
ALL_TARGETS+=${TARGET_GZIP}
ifeq (${WITHPIC},0)
LINKFLAGS+=../../util/libr_util.a
LINKFLAGS+=../../io/libr_io.a
else
LINKFLAGS+=-L../../util -lr_util
LINKFLAGS+=-L.. -lr_io
endif
${TARGET_GZIP}: ${OBJ_GZIP}
${CC_LIB} $(call libname,io_gzip) ${CFLAGS} -o ${TARGET_GZIP} ${OBJ_GZIP} ${LINKFLAGS}