summaryrefslogtreecommitdiffstats
path: root/tools/Makefile-top.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile-top.in')
-rw-r--r--tools/Makefile-top.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/Makefile-top.in b/tools/Makefile-top.in
new file mode 100644
index 0000000..0b201a5
--- /dev/null
+++ b/tools/Makefile-top.in
@@ -0,0 +1,15 @@
+# Makefile for in place build of BIRD
+# (c) 1999 Martin Mares <mj@ucw.cz>
+
+objdir=@objdir@
+
+all:
+ $(MAKE) -C $(objdir) $@
+
+clean:
+ $(MAKE) -C $(objdir) clean
+ rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name depend -or -name .#*`
+
+distclean: clean
+ rm -rf $(objdir)
+ rm -f config.* configure sysdep/autoconf.h Makefile