Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
majora-go
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
majora
majora-go
Commits
db1133ac
Commit
db1133ac
authored
Sep 25, 2021
by
wei.xuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:fix makefile
parent
315f3e76
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
Makefile
Makefile
+6
-1
libmajora_Darwin.h
lib/libmajora_Darwin.h
+0
-0
libmajora_Darwin.so
lib/libmajora_Darwin.so
+0
-0
No files found.
Makefile
View file @
db1133ac
UNAME
:=
$(
shell
uname
)
build
:
build
:
CGO_ENABLE
=
0 go build
-trimpath
-ldflags
'-w -s'
-o
majora-cli
CGO_ENABLE
=
0 go build
-trimpath
-ldflags
'-w -s'
-o
majora-cli
...
@@ -9,7 +10,11 @@ releaseall:
...
@@ -9,7 +10,11 @@ releaseall:
goreleaser build
--rm-dist
--snapshot
goreleaser build
--rm-dist
--snapshot
sdk
:
sdk
:
CGO_ENABLED
=
1 go build
-trimpath
-ldflags
'-s -w --extldflags "-fpic"'
--buildmode
=
c-shared
-o
lib/libmajora_mac.so lib/sdk.go
CGO_ENABLED
=
1 go build
-trimpath
-ldflags
'-s -w --extldflags "-fpic"'
--buildmode
=
c-shared
-o
lib/libmajora_
$(UNAME)
.so lib/sdk.go
sdk_win
:
CGO_ENABLED
=
1 go build
-trimpath
-ldflags
'-s -w --extldflags "-fpic"'
--buildmode
=
c-shared
-o
lib/libmajora_win.so lib/sdk.go
clean
:
clean
:
rm
-fr
dist
rm
-fr
dist
...
...
lib/libmajora_
mac
.h
→
lib/libmajora_
Darwin
.h
View file @
db1133ac
File moved
lib/libmajora_
mac
.so
→
lib/libmajora_
Darwin
.so
View file @
db1133ac
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment