CC = gcc -std=c11 -pedantic -Wall -O2 all: create draw create: create.c maze.h maze.o $(CC) -o create create.c maze.o draw: draw.c maze.h maze.o $(CC) -o draw draw.c maze.o maze.o: maze.c maze.h $(CC) -c maze.c newmaze.zip: zip: clean rm -f newmaze.zip ../newmaze.zip cd .. && zip -rq newmaze.zip newmaze -x newmaze/NEW mv ../newmaze.zip . clean: rm -f a.out core plot.stderr create draw maze.o solve.out plot.stderr