# VRML/FILTERS/Makefile
############################################################################

# use same configuration parameters as in parent directory
include ../Config.common
include ../Config.site

############################################################################
# No need to change anything below here
############################################################################
# There are no source files in this directory

# Subdirectories: add $(XX) where XX is a variable containing either an
# empty string "" or the name of a directory containing a new filter
# to be added (use a more meaningful name than XX of course).

# The 'toy' directory contains a template that can be copied for
# your own import and export filters.
SUBDIRS = cso mgf nff $(PLY)

#default target: compile the filters
all: filters

link_includes:
	for i in $(SUBDIRS) ; do { $(MAKE) -C $$i link_includes ; } ; done

depend: link_includes
	for i in $(SUBDIRS) ; do { $(MAKE) -C $$i depend || exit 1 ; } ; done

filters:
	for i in $(SUBDIRS) ; do { $(MAKE) -C $$i all || exit 1 ; } ; done

cleanhere: cleangen

clean: cleanhere
	for i in $(SUBDIRS) ; do { $(MAKE) -C $$i clean || exit 1 ; } ; done

distclean: cleanhere
	for i in $(SUBDIRS) ; do { $(MAKE) -C $$i distclean || exit 1 ; } ; done

###############################################################################
# dependencies --- automatically generated with make depend !!
###############################################################################
-include deps
