What does "newmake" means in compilation of C programming?

Posted on 2005-04-25
Medium Priority
Last Modified: 2010-04-15
I am into C programming and what does "newmake" means in the compilation procedure.
What are the advantages of using it?What are the disadvantages of it?
Can you please guide me in this respect?
Question by:balaji
  • 2
LVL 45

Accepted Solution

sunnycoder earned 500 total points
ID: 13864509
From the description, it appears to be a utility which generate the makefile for you so that you do not have to write the makefile by hand. Advantage if using it is that you are saved the tedious work of writing a makefile (or severla makefiles) for a source tree ... newmake will analyze your source tree and generate the makefile for you. The disadvantage is that newmake is going to use some heuristics to generate the makefile, e.g. taking hints from names of files etc. It might not be necessarily what you would have liked to have created, but still it should save you considerable work as modifying makefile to fit your needs is likely to be easier. I have not tried newmake yet, if you happen to try it, let me know how it goes.

Expert Comment

ID: 13865409
It can also mean a complete rebuild of an .obj file, even if the compiler hasn't detected changes in the corresponding source code.

LVL 45

Expert Comment

ID: 13865427
May be I am missing something, but why would that lead to a rebuild of obj files?

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
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 and use conditional statements in the C programming language.
Suggested Courses

571 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