#
# @(#)Makefile	1.6 98/04/07
#
# Makefile for building all the demos
#

SUBDIRS = applets jfc

ACTIONS = all debug optimized classes
CLEANACTIONS = clean cleanall clobber clobberall

default : $(SUBDIRS)

everything : $(SUBDIRS) 

$(ACTIONS) ::
	@$(MAKE) -nologo action=$@ RELEASE=$(RELEASE)

$(CLEANACTIONS) ::
	@$(MAKE) -nologo everything action=$@ RELEASE=$(RELEASE)

$(SUBDIRS) $(OPTSUBDIRS) : FORCE
	cd $@
	$(MAKE) -nologo $(action) RELEASE=$(RELEASE)
	cd ..

swing-1.1-demo swing-1.1-clobber:
	cd jfc
	$(MAKE) $@
	cd ..

FORCE :
