]> thyrsus.com Git - bs.git/commitdiff
Better distribution production.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 24 Oct 1994 20:51:08 +0000 (20:51 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 24 Oct 1994 20:51:08 +0000 (20:51 +0000)
Makefile

index 236bbea44dabe7199abfb3a3ec4ea1792b3921d6..8256a5ace18c0b152275d0b2b35108fbb6ae40dc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
 #      Makefile for bs, the Battleships game
 
 # Flags for use with the Linux ncurses package (recommended)
-CFLAGS = -DNDEBUG  -I/usr/local/include -L/usr/local/lib
+CFLAGS = -DNCURSES  -I/usr/local/include -L/usr/local/lib
 TERMLIB = -lncurses
 CC = gcc
 
 # Flags for use with stock curses
-# CFLAGS = -DNDEBUG
+# CFLAGS =
 # TERMLIB = -lcurses
 # CC = gcc
 
@@ -17,7 +17,11 @@ lint:
        lint bs.c -lcurses
 
 clean:
-       rm -f bs bs.shar *~
+       rm -f bs bs.shar bs.tar.gz *~
 
-shar:
+bs.shar:
        shar READ.ME bs.c Makefile bs.6 >bs.shar
+
+bs.tar.gz:
+       tar -cvf bs.tar READ.ME bs.c Makefile bs.6
+       gzip bs.tar