# - 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 tetrix: $(OBJS) $(INCS) cc -O $(OBJS) -o tetrix -lcurses MoveR.o: MoveR.c MoveL.o: MoveL.c NewP.o: NewP.c AdvanceP.o: AdvanceP.c Rotate.o: Rotate.c tet.o: tet.c install: tetrix chmod 755 tetrix /bin/mv -f tetrix /usr/lbin clean: /bin/rm -rf tetrix core *.o