#
#   This is the top-level makefile.
#   Targets are:
#
#      make lattice
#         sets things up to compile under lattice
#      make manx
#         sets things up to compile under manx
#      make
#         actually compiles everything
#      make clean
#         cleans things up

default: all

lattice:
	copy src/Makefile.Lattice src/Makefile
	copy minrexx/Makefile.Lattice minrexx/Makefile
	copy rexxsrc/Makefile.Lattice rexxsrc/Makefile
	execute make-clean

manx:
	copy src/Makefile.Manx src/Makefile
	copy minrexx/Makefile.Manx minrexx/Makefile
	copy rexxsrc/Makefile.Manx rexxsrc/Makefile
	execute make-clean

all:
	execute make-all

clean:
	execute make-clean
