The version of make(1)
provided with the Interix Software Development Kit (SDK) is based
on the Berkeley Software Distribution (BSD) 4.4 make and
supports all BSD features. It also conforms to POSIX.2.
Converting makefiles
You can convert existing makefiles to run under the
Interix subsystem by changing macro definitions. You must edit the
value of $(CFLAGS) to use only flags supported by cc(1) or
c89(1).
POSIX-conformant makefiles
If your makefiles are required to be strictly
POSIX-conformant, you must do the following:
Include the target .POSIX before any other noncomment or
nonblank lines in the makefile.
Change your makefiles so that $(CC) is defined to
be c89.
Ensure that $(CFLAGS) contains only c89
flags.
Avoid using any features of make not mentioned in the
POSIX.2 standard.
Interix make provides the following extensions to
POSIX.2:
The special targets .BEGIN, .END, .INTERRUPT, .MAIN, .NOTMAIN,
.MAKE, .MAKEFLAGS, .OPTIONAL, .PATH, and .USE.
The special macros .TARGET, .OODATE, .PREFIX, .MEMBER, .IMPSRC,
.ALLSRC, and .ARCHIVE.
An include directive, .include, for including other
files (the -I option specifies the directories to search for
those other files).
Conditionals such as .if, .ifdef, .ifmake, and so on. See the
make reference page for more details on these
extensions.
For more details on these extensions, see make(1).