Artifact 1a6aa46eb015d752d97bfdccc40c232982fd1455deadb7d4410d47393e293b63:
- File
utils/Makefile
— part of check-in
[0964e7d687]
at
2013-10-20 11:30:22
on branch trunk
— Add objfw-unzip.
This a small tool to extract ZIP files, using OFZIPArchive.
The idea is that as ObjFW contains a complete ZIP implementation anyway,
it makes sense to add those few extra lines of code to have a very small
tool using ObjFW's ZIP implementation. (user: js, size: 712) [annotate] [blame] [check-ins using]
PROG = objfw-unzip SRCS = objfw-unzip.m include ../buildsys.mk DISTCLEAN = objfw-config install-extra: objfw-config objfw-compile for i in objfw-config objfw-compile; do \ ${INSTALL_STATUS}; \ if ${MKDIR_P} ${DESTDIR}${bindir} && ${INSTALL} -m 755 $$i ${DESTDIR}${bindir}/${BIN_PREFIX}$$i; then \ ${INSTALL_OK}; \ else \ ${INSTALL_FAILED}; \ fi \ done uninstall-extra: for i in objfw-config objfw-compile; do \ if test -f ${DESTDIR}${bindir}/${BIN_PREFIX}$$i; then \ if rm -f ${DESTDIR}${bindir}/${BIN_PREFIX}$$i; then \ ${DELETE_OK}; \ else \ ${DELETE_FAILED}; \ fi \ fi \ done CPPFLAGS += -I../src -I../src/runtime -I.. LIBS := -L../src -lobjfw ${LIBS} LD = ${OBJC}