summaryrefslogtreecommitdiff
path: root/finger/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'finger/Makefile')
-rw-r--r--finger/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/finger/Makefile b/finger/Makefile
new file mode 100644
index 0000000..bec7322
--- /dev/null
+++ b/finger/Makefile
@@ -0,0 +1,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
+