summaryrefslogtreecommitdiff
path: root/finger/Makefile
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2019-02-08 05:13:11 +0000
committerKatolaZ <katolaz@freaknet.org>2019-02-08 05:13:11 +0000
commit172540a4a29fa4c0c5f0431bb5bf5b3d08ec92c0 (patch)
treeac15b0b8ae60a42ffe04b3fd37cf2fbc97b2ddd6 /finger/Makefile
New upstream version 0.17upstream
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
+