]> thyrsus.com Git - cupl.git/commitdiff
Package for release.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 11 Nov 1994 23:28:06 +0000 (23:28 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 11 Nov 1994 23:28:06 +0000 (23:28 +0000)
Makefile

index bda9b59d0b2fb2b7f66731cab279c05331c603ff..409fc4a7694a10f1e8a9c0684f3a1a68b73100b3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,11 @@
 #
 # Makefile for the CUPL project
 #
-CDEBUG = -g
-
+CDEBUG = -O    # change to -g for debugging
 YFLAGS = -l    # add -vt for debugging
 CFLAGS = $(CDEBUG) -D_POSIX_SOURCE -DPARSEDEBUG        #  -DYYDEBUG=1
 
-SOURCES = cupl.[ylh] tokdump.c main.c interpret.c execute.c monitor.c nodetype.h
+SOURCES = cupl.[ylh] tokdump.c main.c interpret.c execute.c monitor.c
 
 MODULES = main.o grammar.o lexer.o interpret.o tokdump.o execute.o monitor.o
 cupl: $(MODULES)
@@ -36,5 +35,10 @@ toktab.h: tokens.h
 lextest: lexer.c tokens.h tokdump.o
        $(CC) $(CFLAGS) -DMAIN lexer.c tokdump.o -o lextest 
 
+cupl.tar: 
+       tar -cvf cupl.tar `cat MANIFEST`
+cupl.tar.gz: cupl.tar
+       gzip cupl.tar
+
 clean:
        rm -f cupl *~ *.o toktab.h tokens.h grammar.c lexer.c lextest y.output