summaryrefslogtreecommitdiff
path: root/localedef/Makefile
blob: 1cc208326e0d60d1fb6a96d50b7ffdc829325bb1 (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

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

clean:
	-rm localedef

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