OSDN Git Service

makefile: add windows (#2126)
authoryzb <335357057@qq.com>
Sun, 9 Oct 2022 06:31:23 +0000 (14:31 +0800)
committerGitHub <noreply@github.com>
Sun, 9 Oct 2022 06:31:23 +0000 (14:31 +0800)
Co-authored-by: yzb@example.cn <yzb@example.cn>
Makefile

index 9607153..c2c7267 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ ifeq ($(UNAME_S),Darwin)
 else ifeq ($(UNAME_S),Linux)
        GOOS := linux
 else
-$(error "$$GOOS is not defined. If you are using Windows, try to re-make using 'GOOS=windows make ...' ")
+       GOOS := windows
 endif
 endif