18 lines
378 B
Makefile
18 lines
378 B
Makefile
compile:
|
|
@. /etc/profile
|
|
|
|
@export GOPROXY=https://goproxy.io
|
|
@go build -gcflags=all="-N -l" -o ../../bin/mailserver/bin
|
|
@echo "compile done"
|
|
|
|
debug:
|
|
@. /etc/profile
|
|
|
|
@export GOPROXY=https://goproxy.io
|
|
@go build -gcflags=all="-N -l" -ldflags "-X q5.optDebug=1" -o ../../bin/mailserver/bin
|
|
@echo "compile done"
|
|
|
|
clean:
|
|
@rm -f ../../bin/mailserver/bin
|
|
@echo "clean done"
|