diff options
Diffstat (limited to 'getopt-ul/Makefile')
-rw-r--r-- | getopt-ul/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
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 |