[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

intentional missing prerequisites?

From: Canham, Timothy K (316C)
Subject: intentional missing prerequisites?
Date: Tue, 31 Aug 2010 08:46:35 -0700

We have a modular make system where we would like to be allow users to add and 
remove build targets.

What I would like to be able to do is something like this:

big_target: target_1 target_2 target3

        do something

        do something else

and target_3 is not defined anywhere.

I would like to know if there is a way to make the definition of the 
prerequisite target optional, and not break the rule. I know I could do:


and it would work, but that would require adding hundreds of them, so I'd like 
to avoid it.

Any ideas?

Timothy K. Canham
Jet Propulsion Laboratory
Pasadena, CA

reply via email to

[Prev in Thread] Current Thread [Next in Thread]