finger/Makefile
raw| 1 | all: finger |
| 2 | |
| 3 | include ../MCONFIG |
| 4 | include ../MRULES |
| 5 | |
| 6 | finger: finger.o lprint.o net.o sprint.o util.o display.o |
| 7 | $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ |
| 8 | |
| 9 | finger.o lprint.o net.o sprint.o util.o display.o: finger.h |
| 10 | finger.o: ../version.h |
| 11 | |
| 12 | install: finger |
| 13 | install -s -m$(BINMODE) finger $(INSTALLROOT)$(BINDIR) |
| 14 | install -m$(MANMODE) finger.1 $(INSTALLROOT)$(MANDIR)/man1 |
| 15 | |
| 16 | clean: |
| 17 | rm -f *.o finger |
| 18 |