浏览代码

编译命令中加入 trimpath

hebinlong 4 年之前
父节点
当前提交
1f18f4511a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -6,7 +6,7 @@ END =
 ifeq (${GOOS}, windows)
 	END=.exe
 endif
-EDIT = ${edit}${END}
+EDIT = ${edit}_${GOOS}_${GOARCH}${END}
 
 
 commitId = $(shell git rev-parse HEAD)