Skip to content

Commit

Permalink
2019年 04月 01日 星期一 11:57:36 CST
Browse files Browse the repository at this point in the history
  • Loading branch information
rocket049 committed Apr 1, 2019
1 parent 59e26f1 commit ce2e394
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ powerchat.exe:$(SRC) libclient.dll
libclient.a:./libclient/*.go
go build -o libclient.a -buildmode=c-archive ./libclient
libclient.dll:./libclient/*.go
cp ./libclient/go.mod .
GO111MODULE=on go build -o libclient.dll -buildmode=c-shared ./libclient
sh ./libclient/dll.sh
libclient.h:./libclient/*.go
go build -buildmode=c-archive ./libclient
install:
Expand Down
2 changes: 0 additions & 2 deletions client/libclient/dll.mk

This file was deleted.

5 changes: 5 additions & 0 deletions client/libclient/dll.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cd ./libclient
go build -o libclient.dll -buildmode=c-shared .
cp libclient.dll ..
cp libclient.h ..
cd ..

0 comments on commit ce2e394

Please sign in to comment.