Differences From Artifact [dcb4102d42]:
- File utils/Makefile — part of check-in [bfc6191ea1] at 2012-11-26 23:28:03 on branch trunk — Better way to install utils with binary prefix. (user: js, size: 601) [annotate] [blame] [check-ins using]
To Artifact [1a6aa46eb0]:
- 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]
|
| > > | | | 1 2 3 4 5 6 7 8 9 10 11 | 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 \ |
︙ | ︙ | |||
19 20 21 22 23 24 25 | if rm -f ${DESTDIR}${bindir}/${BIN_PREFIX}$$i; then \ ${DELETE_OK}; \ else \ ${DELETE_FAILED}; \ fi \ fi \ done | > > > > | 21 22 23 24 25 26 27 28 29 30 31 | 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} |