Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 622607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:00:12+00:00 2026-05-13T19:00:12+00:00

How similar/different are gnu make, microsoft nmake and posix standard make? Obviously there’s things

  • 0

How similar/different are gnu make, microsoft nmake and posix standard make?

Obviously there’s things like “which OS?”, “which compiler?” and “which linker?”, but I’m referring specifically to the syntax, semantics and command-line options of the makefiles themselves.

If I write makefiles based on manuals for gnu make, what are the most important portability issues that I need to be aware of?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:00:12+00:00Added an answer on May 13, 2026 at 7:00 pm

    GNU Make and POSIX Make share a common core so that GNU Make understands makefiles intended for POSIX Make and interprets them the same way – with very few exceptions. However, many GNU Makefiles use features that are only available in GNU Make. Sometimes this is deliberate and conscious; sometimes it isn’t (and "sometimes isn’t" is a problem). I’m less familiar with Microsoft nmake; I believe it is likely to hew close to the POSIX Make semantics at its core, but it will have its own divergent set of extensions.

    Generally speaking, what the programs like autoconf produce are close to portable Makefiles.

    The main things to be beware of using GNU Make are all the extended function notations for mapping file names (macros) into useful values. While they are undoubtedly useful, they are also a trap for portability.

    The ‘%.x’ notations for suffix rules are not defined by the POSIX specification for make — they are recognized as a common extension:

    The interpretation of targets containing the characters '%' and '"' is implementation-defined.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

(Similar in spirit to but different in practice from this question .) Is there
I have several similar user controls which display listviews of respectively different data entities.
I found a similar yet different question+answer for this which doesn't help me due
Are the naming conventions similar in different languages? If not, what are the differences?
This is similar to (but different from) this question . Here is some simple
Similar, but different to this question : I use highlight occurrences a lot, but
They seems pretty similar.What is the different? If I choose wrong, can I change
I have 8 different XAML DataTemplates that are all very similar. Here are 2
I've got a problem similar to,but subtly different from, that described here (Loading assemblies
I have seen a similar related post but my situation is a little different

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.