Add support for locale-based multibyte strings.
[rover.git] / Makefile
blobb92527641c3ff35269a7a56617aa3662d69cea83
1 CFLAGS=-D_FILE_OFFSET_BITS=64
2 LDLIBS=-lncursesw
3 PREFIX=/usr/local
4 MANPREFIX=$(PREFIX)/man
5 INSTALL=install -D
6 UNINSTALL=rm
8 all: rover
10 rover: rover.c config.h
11 $(CC) $(CFLAGS) -o $@ $< $(LDLIBS)
13 install: rover
14 $(INSTALL) rover $(DESTDIR)$(PREFIX)/bin/rover
15 $(INSTALL) rover.1 $(DESTDIR)$(MANPREFIX)/man1/rover.1
17 uninstall: $(DESTDIR)$(PREFIX)/bin/rover
18 $(UNINSTALL) $(DESTDIR)$(PREFIX)/bin/rover
19 $(UNINSTALL) $(DESTDIR)$(MANPREFIX)/man1/rover.1
21 clean:
22 $(RM) rover