[petsc-dev] getting rid of TESTEXAMPLES_XXX_XXX stuff

Jed Brown jedbrown at mcs.anl.gov
Tue Dec 3 07:10:12 CST 2013


Barry Smith <bsmith at mcs.anl.gov> writes:
>>> runex123: REQUIRE = parmetis mumps 64-bit-indices
>
>    Ok, I don’t understand this syntax at all, there is no mention of
>    REQUIRE used in this way in the gnumake manual.  How are you
>    proposing to use this variable?

REQUIRE is just a normal (target-specific) variable, it is not
interpreted specially by make.  Consider the attached makefile.

$ make allrun
Creating executable foo.exe
Running runfoo1
Skipping runfoo2 due to unmet requirements: C
Creating executable bar.exe
Running runbar1
rm bar.exe foo.exe

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131203/dcc799d2/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131203/dcc799d2/attachment.sig>


More information about the petsc-dev mailing list