BSD 4_4 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Mon, 2 Mar 1987 13:42:29 +0000 (05:42 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Mon, 2 Mar 1987 13:42:29 +0000 (05:42 -0800)
Work on file usr/src/contrib/emacs-18.57/cpp/Makefile

Synthesized-from: CSRG/cd3/4.4

usr/src/contrib/emacs-18.57/cpp/Makefile [new file with mode: 0644]

diff --git a/usr/src/contrib/emacs-18.57/cpp/Makefile b/usr/src/contrib/emacs-18.57/cpp/Makefile
new file mode 100644 (file)
index 0000000..38385a7
--- /dev/null
@@ -0,0 +1,20 @@
+# Makefile for cccp in the Emacs distribution only.
+# Here we assume that you are using sys V.0
+# (since cccp is used by Emacs only to deal with shortnames lossage).
+# Therefore, we add -DEMACS to CFLAGS and add -lPW to linking.
+
+CFLAGS=-g -I. -DEMACS
+cpp: cccp
+       -rm cpp
+       ln cccp cpp
+cccp: cccp.o y.tab.o
+       cc -o cccp -g cccp.o y.tab.o -lPW
+testexp: y.tab.c
+       cc -g -DTEST_EXP_READER y.tab.c -o testexp
+y.tab.c: cexp.y
+       echo expect 40 shift/reduce conflicts
+       yacc cexp.y
+cccp.o: cccp.c
+y.tab.o: y.tab.c
+lint:  y.tab.c
+       lint -p y.tab.c cccp.c