1995-05-04 03:15:53 -07:00
|
|
|
# Makefile for the parser generator.
|
|
|
|
|
|
|
|
include ../Makefile.config
|
|
|
|
|
1995-07-20 01:30:16 -07:00
|
|
|
CC=$(NATIVECC)
|
|
|
|
CFLAGS=-O -DNDEBUG $(NATIVECCCOMPOPTS)
|
1995-05-04 03:15:53 -07:00
|
|
|
|
|
|
|
OBJS= closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o \
|
|
|
|
skeleton.o symtab.o verbose.o warshall.o
|
|
|
|
|
|
|
|
all: camlyacc
|
|
|
|
|
|
|
|
camlyacc: $(OBJS)
|
1995-07-20 01:30:16 -07:00
|
|
|
$(CC) $(CFLAGS) $(CCLINKFLAGS) -o camlyacc $(OBJS)
|
1995-05-04 03:15:53 -07:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o camlyacc *~
|
|
|
|
|
|
|
|
depend:
|
|
|
|
|
|
|
|
closure.o: defs.h
|
|
|
|
error.o: defs.h
|
|
|
|
lalr.o: defs.h
|
|
|
|
lr0.o: defs.h
|
|
|
|
main.o: defs.h
|
|
|
|
mkpar.o: defs.h
|
|
|
|
output.o: defs.h
|
|
|
|
reader.o: defs.h
|
|
|
|
skeleton.o: defs.h
|
|
|
|
symtab.o: defs.h
|
|
|
|
verbose.o: defs.h
|
|
|
|
warshall.o: defs.h
|