Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added arm64 and arm to Makefile #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TARGET=./dist
ARCHS=amd64 386
ARCHS=amd64 386
GOOS=windows linux darwin
PACKAGENAME="github.com/ropnop/kerbrute"

Expand Down Expand Up @@ -38,6 +38,16 @@ linux: ## Make Linux x86 and x64 Binaries
done; \
echo "Done."

arm64: ## Make Linux arm64 Binary
echo "Building for arm64..." ; \
GOOS=linux GOARCH=arm64 go build -a -ldflags ${LDFLAGS} -o ${TARGET}/kerbrute_linux_arm64 || exit 1 ;\
echo "Done."

arm: ## Make Linux arm Binary
echo "Building for arm..." ; \
GOOS=linux GOARCH=arm go build -a -ldflags ${LDFLAGS} -o ${TARGET}/kerbrute_linux_arm || exit 1 ;\
echo "Done."

mac: ## Make Darwin (Mac) x86 and x64 Binaries
@for ARCH in ${ARCHS}; do \
echo "Building for mac $${ARCH}..." ; \
Expand Down