Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Creating a Master Makefile for use with nmake

Posted on 1999-07-01
Medium Priority
Last Modified: 2012-06-22
Can someone please tell me how to create a Makefile to be used with Visual C++ nmake utility that includes a list of Makefiles?  In other words, how to create a parent Makefile.
Question by:gumtowv
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3

Accepted Solution

hougaard earned 200 total points
ID: 1263117
Just call NMAKE from your master makefile to the others...

Another way is just to make a BAT file that calls nmake for all makefiles !?!

Author Comment

ID: 1263118
My question is what are the rules that you would include in the parent Makefile?

Expert Comment

ID: 1263119
You will just have to call NMAKE (perhaps @NMAKE) from within your makefile.. There is no makefile<->makefile releationship stuff here... Remember makefile where born on Unix where there is a lot of scripting so a big project was offen scripted around a series of makefiles

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
This tutorial is posted by Aaron Wojnowski, administrator at  To view more iPhone tutorials, visit This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question