# Note: Typing 'make' from this level will rebuild xpat2 from scratch.
#       Type 'make install' (as root) to install the game in default
#	directories.
#
#       For small changes to the sources, you should consider typing
#       'make' in the src/ subdirectory, this will save time.
#
#       You may change src/Imakefile for different configurations.
#       But then, you're on your own...
#
#       For playing with different languages, type
#       LANG=italian; export LANG; xpat2       or
#       LANG=german; export LANG; xpat2
#
#       Should you add / improve translations, please send a copy to
#       m.bischoff@tu-bs.de for inclusion in future releases.

all:
	(cd src && xmkmf && $(MAKE) clean && $(MAKE) && strip xpat2)

install:
	(cd src; $(MAKE) install)

clean:
	(cd src; $(MAKE) clean)
	find . -name "*~" -exec rm \{\} \;

distrib:
	(cd ..; tar cvfz xpat2-0.91.tar.gz xpat2-0.91)
