#  - un'cpio' this in /usr/src or /usr/local/src or something - doesn't matter.
#  - do a 'make install' in the tetrix directory
#  - tetrix gets installed in /usr/lbin
#  - this will create a high score file in /usr/tmp, so doing it again
#    later on will erase high scores for the machine.


OBJS= MoveR.o MoveL.o NewP.o AdvanceP.o Rotate.o tet.o
INCS= tet.h curses.h
CFLAGS= -DATARIST -O

tetrix: \games\tetrix.ttp
\games\tetrix.ttp: $(OBJS) $(INCS)
	cc -o \games\tetrix $(OBJS)

MoveR.o: MoveR.c curses.h

MoveL.o: MoveL.c curses.h

NewP.o: NewP.c curses.h

AdvanceP.o: AdvanceP.c curses.h

Rotate.o: Rotate.c curses.h

tet.o: tet.c $(INCS)
