Makefile 727 Bytes
include $(ROOT)/usr/include/make/PRdefs

OPTIMIZER = -g

TARGETS=ic

LC++OPTS = -woff 3203,3262,3255
#LC++OPTS = -mips2 -fullwarn -G 0
LC++INCS = -I. -I$(ROOT)/usr/include/PR -I ../lib
LLDLIBS=  -L $(ROOT)/usr/lib -L ../lib -lbank

YFLAGS = -vdl

C++FILES = \
	main.c++

ic.y.o: ic.y y.tab.h y.tab.c
	$(C++F) -c y.tab.c -o ic.y.o

ic.l.o: ic.l y.tab.h
	lex ic.l
	$(C++F) -c lex.yy.c -o ic.l.o

y.tab.h y.tab.c: ic.y
	rm -f y.tab.h y.output
	$(YACCF) ic.y

main.o: y.tab.h

y.tab.c: y.tab.h

ic: Makefile y.tab.h $(OBJECTS) ic.y.o ic.l.o
	$(C++F) $(OBJECTS) ic.y.o ic.l.o $(LDFLAGS) -o $@

default: $(TARGETS)

include $(COMMONRULES)

headers exports:

install: default

exports install: default
	$(INSTALL) -F /usr/sbin ic