home *** CD-ROM | disk | FTP | other *** search
- # Makefile for cccp in the Emacs distribution only.
- # Here we assume that you are using SASC
- # (since cccp is used by Emacs only to deal with long strings in macros.
-
- CFLAGS=-dEMACS -i/src/unix/ -dSTACK_DIRECTION=-1 -dOUTPUT_LINE_COMMANDS \
- -cw -j72i -j93i -j84i
-
- cpp: cccp
- -delete cpp
- makelink cpp cccp
- cccp: cccp.o cexp.tab.o alloca.o
- blink <with <
- from lib:c.o cccp.o alloca.o cexp.tab.o
- to cccp
- lib lib:lc.lib lib:amiga.lib
- nodebug
- <
- testexp: y.tab.c
- cc -g -DTEST_EXP_READER y.tab.c -o testexp
-
- cexp.tab.c: cexp.y
- echo "expect 40 shift/reduce conflicts"
- bin:bison cexp.y >bison.debug
-
- cccp.o: cccp.c
- cexp.tab.o: cexp.tab.c
- alloca.o: /src/alloca.c
- $(CC) $(CFLAGS) -oalloca.o /src/alloca.c
-