/* $Id$ */

/*========================================================================
 *  Copyright 1995-1999  Michael J. Hammel
 *========================================================================
 *              FILE NAME: Imakefile
 *            DESCRIPTION: imake configuration file for GFXMuseTools
 *  SOFTWARE DEPENDENCIES: X11, gtk, gdk
 *                  NOTES: set tabstops=3 for readibility
 *
 * SPECIAL CONSIDERATIONS:
 *========================================================================
 *
 * MODIFICATION HISTORY:
 * $Log$
 *
 *========================================================================*/
#include "config.h"

#define IHaveSubdirs
#define PassCDebugFlags

PLUGINS = arrows-d cards-d transform-d 
SUBDIRS = debug-d common-d $(PLUGINS)

OBJDIR  = obj-d 
BINDIR  = bin-d
MANDIR  = docs-d
HDRDIR  = hdrs-d

MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))

/*
 * Clean up everything.
 */
clobber:
	make clean
	cd bin-d; rm -f *
	cd lib-d; make clean
	find . -name "*pure_p1*" -print | xargs rm -f 
	if [ -f gfxmuse.tar.gz ]; then rm -f gfxmuse.tar.gz; fi
	if [ -d gfxmuse ]; then rm -rf gfxmuse; fi
	find . -name "make.out" -print | xargs rm -f 

dist:
	cp cards-d/gfxcards bin-d
	cp transform-d/gfxtrans bin-d
	cp arrows-d/gfxarrow bin-d

