mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-07 17:51:16 +08:00
Improve: Makefile debug target
This commit is contained in:
9
Makefile
9
Makefile
@@ -48,15 +48,14 @@ WINDOWS_ARCH_LIST = \
|
|||||||
windows-arm64 \
|
windows-arm64 \
|
||||||
windows-arm32v7
|
windows-arm32v7
|
||||||
|
|
||||||
all: linux-amd64 darwin-amd64 windows-amd64
|
all: linux-amd64 linux-arm64 darwin-amd64 darwin-arm64 windows-amd64
|
||||||
|
|
||||||
|
debug: BUILD_TAGS += debug
|
||||||
|
debug: all
|
||||||
|
|
||||||
tun2socks:
|
tun2socks:
|
||||||
$(GO_BUILD) -o $(BUILD_DIR)/$(BINARY)
|
$(GO_BUILD) -o $(BUILD_DIR)/$(BINARY)
|
||||||
|
|
||||||
debug: BUILD_TAGS += debug
|
|
||||||
debug:
|
|
||||||
$(GO_BUILD) -o $(BUILD_DIR)/$(BINARY)-$@
|
|
||||||
|
|
||||||
darwin-amd64:
|
darwin-amd64:
|
||||||
GOARCH=amd64 GOOS=darwin $(GO_BUILD) -o $(BUILD_DIR)/$(BINARY)-$@
|
GOARCH=amd64 GOOS=darwin $(GO_BUILD) -o $(BUILD_DIR)/$(BINARY)-$@
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user