From ecbc1bd0b389ccc6ed109c957f7507dc38879097 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 6 Dec 1995 03:58:55 +0000 Subject: [PATCH] Initial revision --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile 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 -- 2.43.0