# Makefile for in place build of BIRD
# (c) 1999 Martin Mares <mj@ucw.cz>

objdir=@objdir@

all depend tags:
	$(MAKE) -C $(objdir) $@

clean:
	$(MAKE) -C $(objdir) clean
	find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name depend -or -name ".#*" | xargs rm -f

distclean: clean
	rm -rf $(objdir)
	rm -f config.* configure sysdep/autoconf.h Makefile