This commit is contained in:
aozhiwei 2023-08-09 16:59:01 +08:00
parent 7303dffd1a
commit 78b0d7bf2d

19
server/imserver/makefile Normal file
View File

@ -0,0 +1,19 @@
compile:
@. /etc/profile
protoc --proto_path=proto --go_out=./mt proto/mt.proto
@export GOPROXY=https://goproxy.io
@go build -gcflags=all="-N -l" -o ../../bin/imserver
@echo "compile done"
debug:
@. /etc/profile
protoc --proto_path=proto --go_out=./mt proto/mt.proto
@export GOPROXY=https://goproxy.io
@go build -gcflags=all="-N -l" -ldflags "-X q5.optDebug=1" -o ../../bin/imserver
@echo "compile done"
clean:
@rm -f ../../bin/imserver
@echo "clean done"