20 lines
469 B
Makefile
20 lines
469 B
Makefile
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/rankserver
|
|
@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/rankserver
|
|
@echo "compile done"
|
|
|
|
clean:
|
|
@rm -f ../bin/rankserver
|
|
@echo "clean done"
|