[Omake] Changing OCAMLPACKS in a section fails
Renald Buter
buter at cwts.leidenuniv.nl
Wed Feb 14 02:55:44 PST 2007
Hello,
Forgive the possible ignorant question.
I have an OMakefile that goes like this:
main_target:
section
PROGRAM=main_target
FILES=main_target
OCAMLPACKS=expat
OCamlProgram($(PROGRAM),$(FILES))
main_target_test:
section
PROGRAM=main_target_test
FILES=main_target main_target_test
OCAMLPACKS=oUnit
OCamlProgram($(PROGRAM),$(FILES))
Everything seems to work, *except* for the OCAMLPACKS variable: it does *not*
get used in the OCamlProgram.
If I assign to it on a global level (i.e. OCAMLPACKS=expat oUnit), then it'll
work, but local changes are ignored. Apart from that, packing oUnit for the
main target is nonsensical...
Any suggestions on what I'm missing here?
With kind regards,
Renald
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
More information about the Omake
mailing list