summaryrefslogtreecommitdiff
path: root/finger/Makefile
blob: bec7322b36df2d5e54282fa19dd8862155ece30d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
all: finger

include ../MCONFIG
include ../MRULES

finger: finger.o lprint.o net.o sprint.o util.o display.o
	$(CC) $(LDFLAGS) $^ $(LIBS) -o $@

finger.o lprint.o net.o sprint.o util.o display.o: finger.h
finger.o: ../version.h

install: finger
	install -s -m$(BINMODE) finger $(INSTALLROOT)$(BINDIR)
	install -m$(MANMODE) finger.1 $(INSTALLROOT)$(MANDIR)/man1

clean:
	rm -f *.o finger