1
This commit is contained in:
parent
7303dffd1a
commit
78b0d7bf2d
19
server/imserver/makefile
Normal file
19
server/imserver/makefile
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user