diff --git a/.gitignore b/.gitignore index 155252c4..d5451627 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ __pycache__ .user node_modules/ nohup.out +bin/ \ No newline at end of file diff --git a/server/imserver/makefile b/server/imserver/makefile index a47001b1..291bc14c 100644 --- a/server/imserver/makefile +++ b/server/imserver/makefile @@ -1,19 +1,17 @@ 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 + @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 + @go build -gcflags=all="-N -l" -ldflags "-X q5.optDebug=1" -o ../../bin/imserver/ @echo "compile done" clean: - @rm -f ../../bin/imserver + @rm -f ../../bin/imserver/ @echo "clean done"