# make all: make bytecode archive # make opt: make native archive # make install: install bytecode archive, and if present, native archive # make uninstall: uninstall package # make clean: remove intermediate files (in this directory) # make CLEAN: remove intermediate files (recursively) # make distclean: remove any superflous files (recursively) #---------------------------------------------------------------------- include Makefile.conf .PHONY: all all: $(MAKE) -f Makefile.code all .PHONY: opt opt: $(MAKE) -f Makefile.code opt .PHONY: install install: all files=`../tools/collect_files *.cmi *.cma *.cmxa *.a` && \ ocamlfind install $(NAME) $(MLI) $$files META .PHONY: uninstall uninstall: ocamlfind remove $(NAME) .PHONY: clean clean: rm -f *.cmi *.cmo *.cma *.cmx *.o *.a *.cmxa *.new *.old .PHONY: CLEAN CLEAN: clean .PHONY: distclean distclean: clean rm -f *~ depend depend.pkg