]> thyrsus.com Git - cstrings.git/commitdiff
Initial revision
authorEric S. Raymond <esr@thyrsus.com>
Wed, 6 Dec 1995 03:58:55 +0000 (03:58 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 6 Dec 1995 03:58:55 +0000 (03:58 +0000)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
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