#
# Maze.asm Make File
#

ALL: Maze Maze-Lace PrintMaze PrintMaze-Lace EasyMaze EasyMaze-Lace PrintEasyMaze PrintEasyMaze-Lace
	@Echo \e[42m All programs are up to date... \e[0m

#
# Options for Maze.asm...
#  Xmax/Ymax set the size of the window...
#  DOUBLE	- Uses the DOUBLE-LOOP reset random number...
#  EASYMAZE	- Uses the old maze-making method...
#  PRINT	- Add the code needed to print the maze...
#
Maze: Maze.asm
	@Echo Remaking \e[42m Maze... \e[0m
	@as -C -D -EXmax=509 -EYmax=189 -o RAM:Maze.obj Maze.asm
	@ln -o Maze RAM:Maze.obj -lc
	@Delete RAM:Maze.obj
	@List Maze

Maze-Lace: Maze.asm
	@Echo Remaking \e[42m Maze-Lace... \e[0m
	@as -C -D -EXmax=640 -EYmax=389 -EDOUBLE -o RAM:Maze.obj Maze.asm
	@ln -o Maze-Lace RAM:Maze.obj -lc
	@Delete RAM:Maze.obj
	@List Maze-Lace

PrintMaze: Maze.asm
	@Echo Remaking \e[42m PrintMaze... \e[0m
	@as -C -D -EXmax=509 -EYmax=189 -EPRINT -o RAM:Maze.obj Maze.asm
	@ln -o PrintMaze RAM:Maze.obj -lc
	@Delete RAM:Maze.obj
	@List PrintMaze

PrintMaze-Lace: Maze.asm
	@Echo Remaking \e[42m PrintMaze-Lace... \e[0m
	@as -C -D -EXmax=640 -EYmax=389 -EDOUBLE -EPRINT -o RAM:Maze.obj Maze.asm
	@ln -o PrintMaze-Lace RAM:Maze.obj -lc
	@Delete RAM:Maze.obj
	@List PrintMaze-Lace

EasyMaze: Maze.asm
	@Echo Remaking \e[42m EasyMaze... \e[0m
	@as -C -D -EXmax=509 -EYmax=189 -EEASYMAZE -o RAM:Maze.obj Maze.asm
	@ln -o EasyMaze RAM:Maze.obj -lc
	@Delete RAM:Maze.obj
	@List EasyMaze

EasyMaze-Lace: Maze.asm
	@Echo Remaking \e[42m EasyMaze-Lace... \e[0m
	@as -C -D -EXmax=640 -EYmax=389 -EEASYMAZE -o RAM:Maze.obj Maze.asm
	@ln -o EasyMaze-Lace RAM:Maze.obj -lc
	@Delete RAM:Maze.obj
	@List EasyMaze-Lace

PrintEasyMaze: Maze.asm
	@Echo Remaking \e[42m PrintEasyMaze... \e[0m
	@as -C -D -EXmax=509 -EYmax=189 -EEASYMAZE -EPRINT -o RAM:Maze.obj Maze.asm
	@ln -o PrintEasyMaze RAM:Maze.obj -lc
	@Delete RAM:Maze.obj
	@List PrintEasyMaze

PrintEasyMaze-Lace: Maze.asm
	@Echo Remaking \e[42m PrintEasyMaze-Lace... \e[0m
	@as -C -D -EXmax=640 -EYmax=389 -EEASYMAZE -EPRINT -o RAM:Maze.obj Maze.asm
	@ln -o PrintEasyMaze-Lace RAM:Maze.obj -lc
	@Delete RAM:Maze.obj
	@List PrintEasyMaze-Lace
