Reputation: 14016
I was curious to see if I can compile this repo, with the Microsoft Program Maintenance Utility (NMAKE.EXE) (location) where I got the U1001 error:
makefile(4) : fatal error U1001: syntax error : illegal character '.' in macro Stop.
so I am wondering if nmake.exe
is by any means a substitute for GNU Make?
my questions are:
Makefile
s by using a subset of shared syntax between the two?MakeFile
s?P.S. It seems that this discussion is very relevant to my question, if not a duplicate.
Upvotes: 0
Views: 925
Reputation: 100956
No, you cannot use nmake
as a replacement for GNU make.
If your GNU make makefile is written strictly to POSIX specification and doesn't use any GNU-specific enhancements, then you could use any POSIX-conforming instance of make with that makefile.
However, (a) it's unlikely the makefile is really POSIX-conforming, and (b) nmake
(as far as I'm aware) isn't a POSIX-conforming implementation of make anyway.
Upvotes: 3