radare2/shlr/zip/Makefile
2014-05-09 01:09:09 +02:00

27 lines
390 B
Makefile

include ../../config-user.mk
include ../../libr/config.mk
include ../../mk/${COMPILER}.mk
ifeq ($(USE_LIB_ZIP),1)
all:
rm -f librz.a
else
all: librz.a
LIBAR=librz.a
librz.a: zip/libr_zip.a
${CC_AR} librz.a zlib/*.o zip/*.o
zip/libr_zip.a: zlib/libr_z.a
$(MAKE) -C zip
zlib/libr_z.a:
$(MAKE) -C zlib
clean:
$(MAKE) -C zlib clean
$(MAKE) -C zip clean
rm -f *.a *.${EXT_SO}
endif