all: build

build install: example2

example2: example2.occ example2_h_if.oif example2_h_if.c\
	example2_body.c ../../../lib/cconv.o
	kroc example2.occ example2_h_if.c example2_body.c ../../../lib/cconv.o -o example2

#
# Create the occam and C interfaces from example2.h:
#
example2_h_if.oif example2_h_if.c: example2.h
	ocinf -P example2.h

clean:		
	-rm -f *~  example2 example2_h_if.* example2.o example2.tco core

test:
	@echo "Nothing to test"
