What is the best way to check for Windows in a Makefile? I have ifeq ($(findstring Microsoft,$(shell uname -r)), Microsoft), but it doesn't feel very robust.
-
-
-
Thanks, looks like they came up with a similar solution, I guess it will work!
End of conversation
New conversation -
-
-
Detecting "Microsoft" in the version string seems to be the recommended answer. Since Windows build 17063 you can also check for the existence of the environment variable "WSLENV".
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
