diff options
Diffstat (limited to 'mk/project.mk.in')
-rw-r--r-- | mk/project.mk.in | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/mk/project.mk.in b/mk/project.mk.in index 3625124f75..e47663fcdb 100644 --- a/mk/project.mk.in +++ b/mk/project.mk.in @@ -128,11 +128,18 @@ LeadingUnderscore=@LeadingUnderscore@ exeext=@exeext@ soext=@soext@ -# Windows=YES if on a Windows platform +# Windows_Host=YES if on a Windows platform ifneq "$(findstring $(HostOS_CPP), mingw32 cygwin32)" "" -Windows=YES +Windows_Host=YES else -Windows=NO +Windows_Host=NO +endif + +# Windows_Target=YES if we are targetting a Windows platform +ifneq "$(findstring $(TargetOS_CPP), mingw32 cygwin32)" "" +Windows_Target=YES +else +Windows_Target=NO endif # Tell the build system what the host operating system is |