Add --save-cwd documentation to manual.
[rover.git] / Makefile
blob445e3824bb1df3243777f52d42044f528cfa4ae6
1 LDLIBS=-lncursesw
2 PREFIX=/usr/local
3 MANPREFIX=$(PREFIX)/man
4 INSTALL=install -D
5 UNINSTALL=rm
7 all: rover
9 rover: rover.c config.h
10 $(CC) $(CFLAGS) -o $@ $< $(LDLIBS)
12 install: rover
13 $(INSTALL) rover $(DESTDIR)$(PREFIX)/bin/rover
14 $(INSTALL) rover.1 $(DESTDIR)$(MANPREFIX)/man1/rover.1
16 uninstall: $(DESTDIR)$(PREFIX)/bin/rover
17 $(UNINSTALL) $(DESTDIR)$(PREFIX)/bin/rover
18 $(UNINSTALL) $(DESTDIR)$(MANPREFIX)/man1/rover.1
20 clean:
21 $(RM) rover