aboutsummaryrefslogtreecommitdiff
path: root/getopt-ul/Makefile
blob: 782240c4be34338c60eb27c47e4de1cbf6918dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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