@@ -81,15 +81,15 @@ $(shell mkdir -p ${DIR})
8181default :
8282 go build -trimpath ${LDFLAGS} ${GCFLAGS} ${ASMFLAGS} -o ${DIR} /${MAGENT} ./main.go
8383
84- all : windows linux darwin
84+ all : windows windows-debug linux darwin
8585
8686# Compile Agent - Windows x64
8787windows :
8888 export GOOS=windows GOARCH=amd64; go build -trimpath ${WINAGENTLDFLAGS} ${GCFLAGS} ${ASMFLAGS} -o ${DIR} /${MAGENT} -${W} .exe ./main.go
8989
9090# Compile Agent - Windows x64 Debug (Can view STDOUT)
9191windows-debug :
92- export GOOS=windows GOARCH=amd64; go build -trimpath ${LDFLAGS} ${GCFLAGS} ${ASMFLAGS} -o ${DIR} /${MAGENT} -Debug- ${W} .exe ./main.go
92+ export GOOS=windows GOARCH=amd64; go build -trimpath ${LDFLAGS} ${GCFLAGS} ${ASMFLAGS} -o ${DIR} /${MAGENT} -${W} -Debug .exe ./main.go
9393
9494# Compile Agent - Windows x64 with Garble - The SEED must be the exact same that was used when compiling the server
9595# Garble version 0.5.2 or later must be installed and accessible in the PATH environment variable
@@ -135,6 +135,10 @@ package-windows:
135135 ${PACKAGE} ${DIR} /${MAGENT} -${W} .7z ${F}
136136 cd ${DIR} ; ${PACKAGE} ${MAGENT} -${W} .7z ${MAGENT} -${W} .exe
137137
138+ package-windows-debug :
139+ ${PACKAGE} ${DIR} /${MAGENT} -${W} -Debug.7z ${F}
140+ cd ${DIR} ; ${PACKAGE} ${MAGENT} -${W} -Debug.7z ${MAGENT} -${W} -Debug.exe
141+
138142package-linux :
139143 ${PACKAGE} ${DIR} /${MAGENT} -${L} .7z ${F}
140144 cd ${DIR} ; ${PACKAGE} ${MAGENT} -${L} .7z ${MAGENT} -${L}
@@ -153,7 +157,7 @@ package-move:
153157clean :
154158 rm -rf ${DIR} *
155159
156- package-all : package-windows package-linux package-darwin
160+ package-all : package-windows package-windows-debug package- linux package-darwin
157161
158162# Build all files for release distribution
159163distro : clean all package-all package-move
0 commit comments