2 # See LICENSE file for copyright and license details.
13 @echo
${BIN} build options
:
14 @echo
"AFLAGS = ${AFLAGS}"
15 @echo
"LFLAGS = ${LFLAGS}"
22 ${OBJ}: config.s config.mk
28 ${LNK} ${LFLAGS} -o
$@
${OBJ}
31 rm -rf
${OBJ} ${BIN} ${BIN}-${VERSION}.
tar.gz
34 mkdir
-p
${BIN}-${VERSION}
35 cp
-R LICENSE Makefile README.md config.mk\
36 ${BIN}.1 ${SRC} ${BIN}-${VERSION}
37 tar -cf
${BIN}-${VERSION}.
tar ${BIN}-${VERSION}
38 gzip
${BIN}-${VERSION}.
tar
39 rm -rf
${BIN}-${VERSION}
42 mkdir
-p
${DESTDIR}${PREFIX}/bin
43 cp
-f
${BIN} ${DESTDIR}${PREFIX}/bin
44 chmod
755 ${DESTDIR}${PREFIX}/bin
/${BIN}
45 mkdir
-p
${DESTDIR}${MANPREFIX}/man1
46 sed
"s/VERSION/${VERSION}/g" < ${BIN}.1 > \
47 ${DESTDIR}${MANPREFIX}/man1
/${BIN}.1
48 chmod
644 ${DESTDIR}${MANPREFIX}/man1
/${BIN}.1
51 rm -f
${DESTDIR}${PREFIX}/bin
/${BIN}\
52 ${DESTDIR}${MANPREFIX}/man1
/${BIN}.1
54 .PHONY
: all options
clean dist install uninstall