Source

newref / Makefile

SYNTAX=newref
TARGET=testref

$(TARGET): $(TARGET).ml $(SYNTAX).cmo
	ocamlopt -o $(TARGET) -pp 'camlp4o -I . $(SYNTAX).cmo' $<

$(SYNTAX).cmo: $(SYNTAX).ml
	ocamlc -I +camlp4 camlp4lib.cma -pp camlp4orf -c $<

clean:
	rm -f *.cmi *.cmo *.cmx *.o *.annot $(TARGET)