home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / emacs-18.59src.lha / emacs-18.59 / cpp / smakefile < prev   
Encoding:
Makefile  |  1993-06-05  |  683 b   |  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 src: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 src: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.