CCFLAGS=-g -Wno-deprecated -I ../Include CLASSES=Digraph Graph Array AssocList Hash SOURCE=$(wildcard ../Include/*) SIZES=003 010 020 030 040 060 080 100 MAZES=$(patsubst %,maze_%.txt,$(SIZES)) all: $(MAZES) $(SOLNS) maze_%.txt: gen_full_maze prune_maze ./gen_full_maze $* $* | prune_maze > maze_$*.txt gen_full_maze: gen_full_maze.cc g++ ${CCFLAGS} -o gen_full_maze gen_full_maze.cc prune_maze: ${SOURCE} prune_maze.cc g++ ${CCFLAGS} -o prune_maze prune_maze.cc clean: rm -f *~ *.o maze_*.txt prune_maze gen_full_maze