Sophie

Sophie

distrib > Mageia > 3 > x86_64 > by-pkgid > 334c73eb2cbee096307b926bf8d6e67a > files > 1438

ocaml-pxp-devel-1.2.3-5.mga3.x86_64.rpm

TOP_DIR = ../../..
include $(TOP_DIR)/Makefile.rules

SRC = chtml.ml
OBJ = $(SRC:.ml=.cmo)
OCAMLC_OPTIONS += -I +ocamldoc
CLEAN_LIST += chtml.ml

.PHONY: all
all: chtml.cmo

chtml.ml:
	case `ocamlc -version` in \
	  3.*) cp chtml_ocaml3.ml chtml.ml ;; \
	  4.*) cp chtml_ocaml4.ml chtml.ml ;; \
	  *)   echo "Unknown Ocaml version"; exit 1 ;; \
	esac


.PHONY: clean
clean:
	rm -f $(CLEAN_LIST)

.PHONY: CLEAN
CLEAN: clean

.PHONY: distclean
distclean: clean