summaryrefslogtreecommitdiff
path: root/tools/Makefile-top.in
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-01-10 00:18:32 +0000
committerMartin Mares <mj@ucw.cz>1999-01-10 00:18:32 +0000
commit49e7e5ee0b2848f5bf120a962e2e7eb11b86566a (patch)
tree56e7c215f49ab59792b5cf0194fa5045a66943c7 /tools/Makefile-top.in
parent2f9bcf9713523f6fefecd143cc2aa2a8dda7f27f (diff)
New makefiles. Includes support for out-of-source-tree builds.
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 00000000..0b201a56
--- /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