# -*-makefile-*----------------------------------------------------------------
# $Id: misc.in,v 1.10 1995/10/22 17:32:34 mjl Exp $
#
# Maurice LeBrun
# IFS, University of Texas at Austin
# 22-Jul-1994
#
# Miscellaneous targets.
# -----------------------------------------------------------------------------

# Cleanup

clean:
	-if test -d shared; then $(RM) -r shared; fi
	-$(RM) *

distclean: clean

# Autogeneration of dependencies.  Use gcc -MM because X11's "makedepend"
# includes system headers, and that really sucks.  Generate dependencies
# for /all/ files here.

depend:
	gcc -MM *.c | sed 's/\.o/\$$O/' >objs.in
	@echo "Rerun configure for the new dependencies to take effect"

# -----------------------------------------------------------------------------
# Auto-generated dependency list follows (warning: it's ugly).

