hnrgrgr/deriving — Issue #1: missing dep in the Makefile
Author: williamleferrand
Created: 2011-11-26 20:31:01+00:00
State: open

hello

it seems that in lib/Makefile, the rule

%.cmo: %.ml
${OCAMLC} ${OCAMLFLAGS} ${PP} -c $<

should be replaced by

%.cmo: %.ml %.cmi
${OCAMLC} ${OCAMLFLAGS} ${PP} -c $<

otherwise the project does not build (from scratch) : deriving_Bounded.cmo is built before deriving_Bounded.cmi, which eventually cause the build to stop because the cmi file does not exists.

cheers

william