SRCDIRS	=	gk gol mand misc mmult tr93-30a
TARGETS	=	all install clean purge

what		:
		@echo "make what (one of $(SRCDIRS) $(TARGETS)) ?"

${TARGETS}	::
		@( 								\
		for i in ${SRCDIRS};			\
		do                      		\
			( cd $$i; $(MAKE) $@; ); 	\
		done; 							\
		)

clean		::
		rm -f *~ core

purge		::
		rm -f *~ core *.csl *.seq view

$(SRCDIRS)	::
		(cd $@; $(MAKE))

