SHELL=/bin/sh
CFLAGS=-O
SRCES= user.c daemon.c maze.c
INCLS= globals.h
OBJS = $(SRCES:.c=.o)
all:	mazewar mazedaemon
	: All done
mazewar:	user.o maze.o
	cc user.o maze.o -lcurses -lterm -o mazewar
mazedaemon:	daemon.o maze.o
	cc daemon.o maze.o -o mazedaemon

user.o daemon.o maze.o:	globals.h

tape:;	tar cv README Makefile $(INCLS) $(SRCES)
clean:;	rm -f a.out core $(OBJS)
love:;	@echo "my place or yours?"
shar:;	shar README Makefile $(INCLS) $(SRCES) > mazewar.shar
