.PHONY: clean distclean

NAME = bar
FILES[] =
	bar
	foo

OCamlLibrary(foo, foo)

.DEFAULT: $(OCamlProgram bar, bar foo)

clean:
	rm -f \
	$(filter-proper-targets $(glob $(addsuffix .*, $(FILES))))

distclean: clean
	rm -f \
	$(NAME).run $(NAME).opt $(NAME)

