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=DEFINE EMACS DEFINE AMIGA INDIRECTORY=src:unix/include/ \
- DEFINE STACK_DIRECTION=-1 DEFINE OUTPUT_LINE_COMMANDS\
- NOWARNVOIDRETURN
-
- cpp: cccp
- -delete cpp
- makelink cpp cccp
- cccp: cccp.o cexp.tab.o alloca.o
- SC cccp.o alloca.o cexp.tab.o PROGRAMNAME cccp\
- LIBRARY=src:unix/src/unix.lib LINK
-
- 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) OBJECTNAME=alloca.o /src/alloca.c
-