From fe286d22ce7332697dfd51098db411baaef8e16f Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Tue, 16 Apr 2024 13:33:38 +0900 Subject: [PATCH] =?utf8?q?=E5=BF=98=E3=82=8C=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index a8444ff..3cfb80f 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,7 @@ clean: rm -f ${NAME} dist: clean + mkdir -p dist mkdir -p ${NAME}-${VERSION} cp -R LICENSE.txt Makefile README.md CHANGELOG.md \ ${NAME}-completion.zsh ${NAME}.1 main.c src ${NAME}-${VERSION} @@ -40,16 +41,19 @@ dist: clean rm -rf ${NAME}-${VERSION} release-openbsd: + mkdir -p release ${CC} ${CFLAGS} -o release/${NAME}-${VERSION}-openbsd-amd64 ${FILES} \ -static -lgpgme -lcrypto -lc -lassuan -lgpg-error -lintl -liconv strip release/${NAME}-${VERSION}-openbsd-amd64 release-freebsd: + mkdir -p release ${CC} ${CFLAGS} -o release/${NAME}-${version}-freebsd-amd64 ${FILES} \ -static -lgpgme -lcrypto -lc -lassuan -lgpg-error -lthr -lintl strip release/${NAME}-${VERSION}-linux-amd64 release-linux: + mkdir -p release ${CC} ${CFLAGS} -o release/${NAME}-${VERSION}-linux-amd64 ${FILES} \ -static -lgpgme -lcrypto -lc -lassuan -lgpg-error strip release/${NAME}-${VERSION}-linux-amd64 -- 2.43.0