From my experience, GNU Make (which mingw32-make is a port of) doesn't like double quotes. Double-quoted variables like those currently used in Orange C's makefiles will not work as expected.
For example: ifneq "$(ORANGEC_ONLY)" "YES". On GNU make I think it should be ifneq ($(ORANGEC_ONLY),YES).
Please correct me if I'm wrong. I'm only a noob to both GNU Make and omake.
Related issue: #932
Update: Yeah. It turns out I'm wrong. ifneq "$(ORANGEC_ONLY)" "YES" is definitely fine with GNU Make.
yeah i had to put the quotes in, because, if ORANGEC_ONLY isn't defined and you don't have quotes, the ifneq doesn't have the right number of arguments...
The way
mingw32-make
expands variables seems to be different fromomake
:https://www.gnu.org/software/make/manual/html_node/Conditional-Syntax.html
From my experience, GNU Make (which
mingw32-make
is a port of) doesn't like double quotes. Double-quoted variables like those currently used in Orange C's makefiles will not work as expected.For example:
ifneq "$(ORANGEC_ONLY)" "YES"
. On GNU make I think it should beifneq ($(ORANGEC_ONLY),YES)
.Please correct me if I'm wrong. I'm only a noob to both GNU Make and
omake
.Related issue: #932
Update: Yeah. It turns out I'm wrong.
ifneq "$(ORANGEC_ONLY)" "YES"
is definitely fine with GNU Make.