summaryrefslogtreecommitdiff
path: root/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 /Makefile
New upstream version 0.17upstream
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f224bc3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+# You can do "make SUB=blah" to make only a few, or edit here, or both
+# You can also run make directly in the subdirs you want.
+
+SUB = finger fingerd
+
+%.build:
+ (cd $(patsubst %.build, %, $@) && $(MAKE))
+
+%.install:
+ (cd $(patsubst %.install, %, $@) && $(MAKE) install)
+
+%.clean:
+ (cd $(patsubst %.clean, %, $@) && $(MAKE) clean)
+
+all: $(patsubst %, %.build, $(SUB))
+install: $(patsubst %, %.install, $(SUB))
+clean: $(patsubst %, %.clean, $(SUB))
+
+distclean: clean
+ rm -f MCONFIG