finger-modif/finger/Makefile

19 lines
388 B
Makefile
Raw Normal View History

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