all: pa_declare.ml
	ocamlc -I +camlp4 -c -pp "camlp4o q_MLast.cmo pa_extend.cmo" pa_declare.ml

.PHONY: test

test: all test.ml
	ocamlc -o test -pp "camlp4o pa_declare.cmo" test.ml 
	./test

show: all test.ml
	camlp4o pa_declare.cmo test.ml 

clean:
	rm -f test *.cmo *.cmi *.o .*.o *.c

