.PHONY: all install clean # .SUBDIRS: OCAMLPACKS[] = str sha sqlite3 unix # OCAMLINCLUDES += # NATIVE_ENABLED = $(OCAMLOPT_EXISTS) # BYTE_ENABLED = $(not $(OCAMLOPT_EXISTS)) # OCAMLFLAGS += # OCAMLCFLAGS += # OCAMLOPTFLAGS += # OCAML_LINK_FLAGS += # OCAML_BYTE_LINK_FLAGS += # OCAML_NATIVE_LINK_FLAGS += FILES[] = oms store maildir hash tools NAME = oms # OCAML_LIBS += # OCAML_CLIBS += # OCAML_OTHER_LIBS += # OCAML_LIB_FLAGS += OCamlProgram(store, store) OCamlProgram(maildir, tools maildir) OCamlProgram(hash, hash) clean: rm -f \ $(filter-proper-targets $(glob $(addsuffix .*, $(FILES)))) \ $(LIB).run $(LIB).opt .DEFAULT: $(OCamlProgram $(NAME), $(FILES))