From: Eric S. Raymond Date: Tue, 29 Nov 1994 04:02:48 +0000 (+0000) Subject: This is ready to ship now. X-Git-Tag: 2.1~4 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=8ab4ff048e802cf96d3b82902fd6ae6768b15803;p=tetrix.git This is ready to ship now. --- diff --git a/Makefile b/Makefile index f00e3f5..6fbd9d9 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,18 @@ -# - un'cpio' this in /usr/src or /usr/local/src or something - doesn't matter. +# To install: +# +# - unpack 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/local/bin # - this will create a high score file in /usr/tmp, so doing it again # later on will erase high scores for the machine. -CFLAGS=-g -DEGA -LFLAGS = # -s +CFLAGS=-O -DIBM +LFLAGS = -s OBJS= MoveR.o MoveL.o DrawP.o AdvanceP.o Rotate.o Colors.o tet.o INCS= tet.h +SOURCES = READ.ME Makefile tet.h $(OBJS:.o=.c) + tetrix: $(OBJS) $(INCS) cc $(LFLAGS) $(OBJS) -ldcurses -o tetrix @@ -24,8 +28,13 @@ install: tetrix chmod 755 tetrix /bin/mv -f tetrix /usr/local/bin -shar: - shar README Makefile tet.h $(OBJS:.o=.c) +tetrix.tar: $(SOURCES) + tar -cvf $(SOURCES) +tetrix.tar.gz: tetrix.tar + gzip tetrix.tar + +tetrix.shar: $(SOURCES) + shar $(SOURCES) >tetrix.shar clean: - /bin/rm -rf tetrix core *.o + /bin/rm -rf tetrix core *.o tetrix.shar tetrix.tar tetrix.tar.gz diff --git a/README b/README index af94967..0aaef26 100644 --- a/README +++ b/README @@ -42,10 +42,10 @@ to set the value of INIT_PAUSE. Have fun! Eric S. Raymond -November 1994: This code has been cleaned up for use with Linux ncurses. -You don't have to specify -DCOLOR any more. Given the growing ubiquity -of curses, this game is now semi-obsolescent and I don't expect to have -to hack it again. Thus the envoi +November 1994: This code has been cleaned up for use with Linux ncurses. You +don't have to specify -DCOLOR any more. The -DEGA switch is now -DIBM. Given +the growing ubiquity of xtetris, this game is now semi-obsolescent and I don't +expect to have to hack it again. Thus the envoi Good bye! Eric S. Raymond