From 9624232b837be04bfc9658b3ab82ac3f1aafc704 Mon Sep 17 00:00:00 2001 From: merakor Date: Thu, 20 Aug 2020 10:59:40 +0000 Subject: cpt: provide getopt from util-linux FossilOrigin-Name: 625f8a954bc9650126ce37cea8a1b7407c7b893e37d777f57f4a316b1ce17044 --- getopt-ul/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 getopt-ul/Makefile (limited to 'getopt-ul/Makefile') diff --git a/getopt-ul/Makefile b/getopt-ul/Makefile new file mode 100644 index 0000000..782240c --- /dev/null +++ b/getopt-ul/Makefile @@ -0,0 +1,15 @@ +include ../config.mk + +getopt: getopt.c + ${CC} -include config.h ${CFLAGS} ${LDFLAGS} -o getopt getopt.c + +clean: + rm -f getopt + +install: + install -Dm755 getopt ${DESTDIR}${BINDIR}/getopt + +uninstall: + rm -f ${DESTDIR}${BINDIR}/getopt + +.PHONY: all install uninstall clean -- cgit v1.2.3