home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / emacs-18.59-src.tgz / emacs-18.59-src.tar / fsf / emacs18 / cpp / Makefile < prev    next >
Makefile  |  1996-09-28  |  539b  |  21 lines

  1. # Makefile for cccp in the Emacs distribution only.
  2. # Here we assume that you are using sys V.0
  3. # (since cccp is used by Emacs only to deal with shortnames lossage).
  4. # Therefore, we add -DEMACS to CFLAGS and add -lPW to linking.
  5.  
  6. CFLAGS=-g -I. -DEMACS
  7. cpp: cccp
  8.     -rm cpp
  9.     ln cccp cpp
  10. cccp: cccp.o y.tab.o
  11.     cc -o cccp -g cccp.o y.tab.o -lPW
  12. testexp: y.tab.c
  13.     cc -g -DTEST_EXP_READER y.tab.c -o testexp
  14. y.tab.c: cexp.y
  15.     echo expect 40 shift/reduce conflicts
  16.     yacc cexp.y
  17. cccp.o: cccp.c
  18. y.tab.o: y.tab.c
  19. lint:    y.tab.c
  20.     lint -p y.tab.c cccp.c
  21.