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 / smakefile < prev   
Makefile  |  1996-09-28  |  679b  |  24 lines

  1. # Makefile for cccp in the Emacs distribution only.
  2. # Here we assume that you are using SASC
  3. # (since cccp is used by Emacs only to deal with long strings in macros.
  4.  
  5. CFLAGS=DEF EMACS idir //unix/include/ def STACK_DIRECTION=-1 def OUTPUT_LINE_COMMANDS nowvret debug sf
  6.  
  7. cpp: cccp
  8.     -delete cpp
  9.     makelink cpp cccp
  10. cccp: cccp.o cexp.tab.o alloca.o
  11.     sc link cccp.o alloca.o cexp.tab.o to cccp lib //unix/src/unix.lib
  12.  
  13. testexp: y.tab.c
  14.     cc -g -DTEST_EXP_READER y.tab.c -o testexp
  15.  
  16. cexp.tab.c: cexp.y
  17.     echo "expect 40 shift/reduce conflicts"
  18.     bin:bison cexp.y >bison.debug
  19.  
  20. cccp.o: cccp.c
  21. cexp.tab.o: cexp.tab.c
  22. alloca.o: /src/alloca.c
  23.     $(CC) $(CFLAGS) objname alloca.o /src/alloca.c
  24.