diff --git a/cmd/open_im_api/Makefile b/cmd/open_im_api/Makefile index 91aee7831..cf43f67eb 100644 --- a/cmd/open_im_api/Makefile +++ b/cmd/open_im_api/Makefile @@ -11,6 +11,10 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + endif build: diff --git a/cmd/open_im_cms_api/Makefile b/cmd/open_im_cms_api/Makefile index d0a8aeb8e..2d244cb5c 100644 --- a/cmd/open_im_cms_api/Makefile +++ b/cmd/open_im_cms_api/Makefile @@ -12,6 +12,10 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + endif build: diff --git a/cmd/open_im_cron_task/Makefile b/cmd/open_im_cron_task/Makefile index 81a7d13a8..dc49858be 100644 --- a/cmd/open_im_cron_task/Makefile +++ b/cmd/open_im_cron_task/Makefile @@ -11,6 +11,10 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + endif build: diff --git a/cmd/open_im_demo/Makefile b/cmd/open_im_demo/Makefile index fdad838f9..fa8aad6eb 100644 --- a/cmd/open_im_demo/Makefile +++ b/cmd/open_im_demo/Makefile @@ -12,6 +12,14 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + +else + +BINARY_NAME=${NAME} + endif build: diff --git a/cmd/open_im_msg_gateway/Makefile b/cmd/open_im_msg_gateway/Makefile index 369f82a27..29ecfc3f4 100644 --- a/cmd/open_im_msg_gateway/Makefile +++ b/cmd/open_im_msg_gateway/Makefile @@ -11,6 +11,10 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + endif build: diff --git a/cmd/open_im_msg_transfer/Makefile b/cmd/open_im_msg_transfer/Makefile index 40497fe7e..049a1c041 100644 --- a/cmd/open_im_msg_transfer/Makefile +++ b/cmd/open_im_msg_transfer/Makefile @@ -12,6 +12,10 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + endif build: diff --git a/cmd/open_im_push/Makefile b/cmd/open_im_push/Makefile index a8502aa4c..be3e01ea8 100644 --- a/cmd/open_im_push/Makefile +++ b/cmd/open_im_push/Makefile @@ -11,6 +11,10 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + endif build: diff --git a/cmd/rpc/open_im_admin_cms/Makefile b/cmd/rpc/open_im_admin_cms/Makefile index 66a4b775b..50b734c71 100644 --- a/cmd/rpc/open_im_admin_cms/Makefile +++ b/cmd/rpc/open_im_admin_cms/Makefile @@ -11,6 +11,10 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + endif build: diff --git a/cmd/rpc/open_im_auth/Makefile b/cmd/rpc/open_im_auth/Makefile index 04536d367..00d6e81bc 100644 --- a/cmd/rpc/open_im_auth/Makefile +++ b/cmd/rpc/open_im_auth/Makefile @@ -11,6 +11,10 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + endif build: diff --git a/cmd/rpc/open_im_cache/Makefile b/cmd/rpc/open_im_cache/Makefile index 7f71d9e37..f2d41eb1f 100644 --- a/cmd/rpc/open_im_cache/Makefile +++ b/cmd/rpc/open_im_cache/Makefile @@ -11,6 +11,10 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + endif build: diff --git a/cmd/rpc/open_im_conversation/Makefile b/cmd/rpc/open_im_conversation/Makefile index 10565042e..8102770f8 100644 --- a/cmd/rpc/open_im_conversation/Makefile +++ b/cmd/rpc/open_im_conversation/Makefile @@ -11,6 +11,10 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + endif build: diff --git a/cmd/rpc/open_im_friend/Makefile b/cmd/rpc/open_im_friend/Makefile index 3ca708562..83094da81 100644 --- a/cmd/rpc/open_im_friend/Makefile +++ b/cmd/rpc/open_im_friend/Makefile @@ -11,6 +11,11 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + + endif build: diff --git a/cmd/rpc/open_im_group/Makefile b/cmd/rpc/open_im_group/Makefile index fcf6f9d7b..fa40874ac 100644 --- a/cmd/rpc/open_im_group/Makefile +++ b/cmd/rpc/open_im_group/Makefile @@ -11,6 +11,11 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + + endif build: diff --git a/cmd/rpc/open_im_msg/Makefile b/cmd/rpc/open_im_msg/Makefile index c51b49865..04b19c62f 100644 --- a/cmd/rpc/open_im_msg/Makefile +++ b/cmd/rpc/open_im_msg/Makefile @@ -11,6 +11,10 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + endif build: diff --git a/cmd/rpc/open_im_office/Makefile b/cmd/rpc/open_im_office/Makefile index c8cd546a8..fceae369d 100644 --- a/cmd/rpc/open_im_office/Makefile +++ b/cmd/rpc/open_im_office/Makefile @@ -11,6 +11,10 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + endif build: diff --git a/cmd/rpc/open_im_organization/Makefile b/cmd/rpc/open_im_organization/Makefile index 94eb7978a..2386bffdb 100644 --- a/cmd/rpc/open_im_organization/Makefile +++ b/cmd/rpc/open_im_organization/Makefile @@ -11,6 +11,10 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + endif build: diff --git a/cmd/rpc/open_im_user/Makefile b/cmd/rpc/open_im_user/Makefile index 7dd38979b..c85520bd6 100644 --- a/cmd/rpc/open_im_user/Makefile +++ b/cmd/rpc/open_im_user/Makefile @@ -11,6 +11,10 @@ ifeq ($(OS),windows) BINARY_NAME=${NAME}.exe +else + +BINARY_NAME=${NAME} + endif build: