OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38393f0
)
makefile: add windows (#2126)
author
yzb
<335357057@qq.com>
Sun, 9 Oct 2022 06:31:23 +0000
(14:31 +0800)
committer
GitHub
<noreply@github.com>
Sun, 9 Oct 2022 06:31:23 +0000
(14:31 +0800)
Co-authored-by: yzb@example.cn <yzb@example.cn>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/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