all: build

build install: example1

example1: example1.occ example1_h_if.oif example1_h_if.c ../../../lib/cconv.o
	kroc example1.occ example1_h_if.c ../../../lib/cconv.o -o example1

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

clean:		
	-rm -f *~  example1 example1_*.* example1.o example1.tco core

test:
	@echo "Nothing to test"

