windows: bail early if unknown APPVER

If APPVER is set to an unknown value, bail early rather than invoking compiler
with bogus Windows version macros.
This commit is contained in:
Luke Howard
2022-01-14 09:30:33 +11:00
parent ee2a92c547
commit 00ba0ab387

View File

@@ -53,6 +53,8 @@ NMAKE_WINVER=0x0600
NMAKE_WINVER=0x0601
!elseif "$(APPVER)" == "10.0"
NMAKE_WINVER=0x0A00
!else
!error Unknown value for APPVER
!endif
cc = cl