summaryrefslogtreecommitdiff
path: root/getconf/Makefile
blob: 9abdd88830a40144def0be4acc1c018ca34aa938 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.POSIX:

CFLAGS=-D _POSIX_C_SOURCE=200809L -D _XOPEN_SOURCE=700

getconf: getconf.c
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<

clean:
	-rm getconf

install: getconf
	cp getconf $(DESTDIR)/usr/bin/getconf
	cp getconf.1 $(DESTDIR)/usr/share/man/man1/getconf.1