# MkMake made by Anders Hybertz, Copyright (c) 1991,1992
# Created by MkMake on [ Mar 12 1992 ] at [ 17:00:38 ]
# SASCOpts not found in current directory. Trying in ENV:
# SASCopts found. Setting these flags


PROGRAM		= Bison
CC		= LC
LINKER		= BLINK
LCFLAGS		= -m3 -cus 
DEFINES		= -dSTDC_HEADERS -dAMIGA
BLINKFLAGS	= SC SD VERBOSE ND 
LIBS		= LIB:lc.lib LIB:amiga.lib
PRECOMPOBJ0	= alloca.o allocate.o closure.o conflicts.o derives.o LR0.o lex.o
PRECOMPOBJ1	= nullable.o output.o print.o reader.o reduce.o symtab.o
STARTUPCODE	= c.o
OBJ		= files.o getargs.o getopt.o getopt1.o gram.o lalr.o\
		  main.o  precom0.o precom1.o version.o warshall.o 

.IGNORE:
.SILENT:

all: $(PRECOMPOBJ0) $(PRECOMPOBJ1)    
	$(LINKER) $(PRECOMPOBJ0) $(BLINKFLAGS) PRELINK TO precom0.o
	$(LINKER) $(PRECOMPOBJ1) $(BLINKFLAGS) QUIET PRELINK TO precom1.o
	lmk -i $(PROGRAM) 

$(PROGRAM): $(OBJ)	
	$(LINKER) LIB:$(STARTUPCODE) $(OBJ) LIB $(LIBS) $(BLINKFLAGS) TO $(PROGRAM)

.c.o:
	$(CC) $(DEFINES) $(LCFLAGS) $*

#!********* Don't edit in the following lines ***********
alloca.o: alloca.c
allocate.o: allocate.c 
closure.o: closure.c system.h machine.h new.h gram.h 
conflicts.o: conflicts.c system.h machine.h new.h files.h gram.h state.h 
derives.o: derives.c system.h new.h types.h gram.h 
files.o: files.c system.h files.h new.h gram.h 
getargs.o: getargs.c getopt.h system.h files.h 
getopt.o: getopt.c getopt.h 
getopt1.o: getopt1.c getopt.h 
gram.o: gram.c 
lalr.o: lalr.c system.h machine.h types.h state.h new.h gram.h 
lex.o: lex.c system.h files.h symtab.h lex.h new.h 
LR0.o: LR0.c system.h machine.h new.h gram.h state.h 
main.o: main.c system.h 
nullable.o: nullable.c system.h types.h gram.h new.h 
output.o: output.c system.h machine.h new.h files.h gram.h state.h
print.o: print.c system.h machine.h new.h files.h gram.h state.h 
reader.o: reader.c system.h files.h new.h symtab.h lex.h gram.h machine.h 
reduce.o: reduce.c system.h files.h gram.h machine.h new.h 
symtab.o: symtab.c system.h new.h symtab.h gram.h 
version.o: version.c 
warshall.o: warshall.c system.h machine.h 
