From: Eric S. Raymond Date: Wed, 6 Dec 1995 03:58:55 +0000 (+0000) Subject: Initial revision X-Git-Tag: 2.0~7 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=ecbc1bd0b389ccc6ed109c957f7507dc38879097;p=cstrings.git Initial revision --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..33e87e5 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +# Makefile for the cstrings tool by Eric S. Raymond + +CFLAGS=-O +LDFLAGS=-s + +cstrings: cstrings.l + @echo " Expect a \"Non-portable Character Class\" warning" + lex cstrings.l + mv lex.yy.c cstrings.c + $(CC) $(CFLAGS) cstrings.c $(LDFLAGS) -o cstrings + +clean: + rm -f lex.yy.c cstrings cstrings.c *~ cstrings.shar cstrings.tar.gz + +cstrings.tar.gz: + tar -cvf cstrings.tar cstrings.1 cstrings.lsm Makefile cstrings.l + gzip cstrings.tar + +cstrings.shar: cstrings.1 Makefile cstrings.l + shar cstrings.1 Makefile cstrings.l cstrings.lsm >cstrings.shar