# GNU Makefile for the X11 part of the PTC 2.0 C++ API
# Copyright (c) 1998 Christian Nentwich (brn@eleet.mcb.at)
# The PTC 2.0 C++ API is (c) 1998 Glenn Fiedler (ptc@gaffer.org)
# This package is licensed under the GNU LGPL
#
# Please refer to the file COPYING.LIB contained in the distribution for
# licensing conditions

EXAMPLE_DIRS = unix palette tunnel random

all:
	@for subdir in $(EXAMPLE_DIRS); do \
	  cd $$subdir; \
	  make; \
	  cd ..; \
	done

clean:
	@for subdir in $(EXAMPLE_DIRS); do \
	  cd $$subdir; \
	  make clean; \
	  cd ..; \
	done

distclean:
	@for subdir in $(EXAMPLE_DIRS); do \
	  cd $$subdir; \
	  make distclean; \
	  cd ..;\
	done

