%.cmo: %.api ../generator-lib/generator_lib.cma
$(OCAMLFIND) ocamlc $(OCAMLOPTFLAGS) $(PP) -impl $< -c -o $@
-CLEANFILES = *.cmi *.cmo *.cmx *~
+CLEANFILES = *.cmi *.cmo *.cmx *.cma *.cmxa *~
depend: .depend
# The C library.
SUBDIRS += lib
+
+CLEANFILES = *~
%.cmx: %.ml
$(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) -c $< -o $@
-CLEANFILES = *.cmi *.cmo *.cmx *~
+CLEANFILES = *.cmi *.cmo *.cmx *.cma *.cmxa *~
depend: .depend
%.cmx: %.ml
$(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) -c $< -o $@
-CLEANFILES = *.cmi *.cmo *.cmx *~
+CLEANFILES = *.cmi *.cmo *.cmx *~ generator
depend: .depend