[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

Multiple make files

Hi,
A simple question

I have a.make
in which I want to also include and execute b.make.

how do I do this.
Basically b.make creates symlinks to some directory that I want to make use of in a.make.

Any simple solutions?





0
sanjay_thakur
Asked:
sanjay_thakur
1 Solution
 
brettmjohnsonCommented:
If using GNU make, in a.make, insert the following line at the appropriate location:

include b.make

See section 3.3 of the GNU Make Manual:
http://www.gnu.org/software/make/manual/html_mono/make.html#SEC16


0
 
jojuCommented:
if you want to execute b.make, insert the following line at the appropriate location in a.make:

cd <PATH> && Make -f b.make
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now