CC = ocamlopt RM = rm -rf OUTPUT = exe.byte NAME = main LIB = unix.cmxa -I +unix main: $(CC) -o $(OUTPUT) $(LIB) $(NAME).ml EXTS = cmi cmx o clean: $(RM) $(OUTPUT) $(foreach ext,$(EXTS),$(NAME).$(ext))