From 35fef77fefedc7c43b4de4228bb5cfdd11cfe6fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Sat, 25 May 2024 17:43:43 +0900 Subject: [PATCH] =?utf8?q?=E3=81=94=E3=82=81=E3=82=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index eef7981..35b104b 100644 --- a/Makefile +++ b/Makefile @@ -35,33 +35,32 @@ clean: rm -f ${NAME} dist: clean - mkdir -p dist - mkdir -p ${NAME}-${VERSION} + mkdir -p release/src ${NAME}-${VERSION} cp -R LICENSE.txt Makefile README.md CHANGELOG.md \ ${NAME}-completion.zsh ${NAME}.1 main.c src ${NAME}-${VERSION} tar zcfv dist/${NAME}-${VERSION}.tar.gz ${NAME}-${VERSION} rm -rf ${NAME}-${VERSION} release-openbsd: - mkdir -p release + mkdir -p release/bin ${CC} ${CFLAGS} -o release/${NAME}-${VERSION}-openbsd-${UNAME_M} ${FILES} \ -static -lgpgme -lcrypto -lc -lassuan -lgpg-error -lintl -liconv strip release/${NAME}-${VERSION}-openbsd-${UNAME_M} release-freebsd: - mkdir -p release + mkdir -p release/bin ${CC} ${CFLAGS} -o release/${NAME}-${VERSION}-freebsd-${UNAME_M} ${FILES} \ -static -lgpgme -lcrypto -lc -lassuan -lgpg-error -lthr -lintl strip release/${NAME}-${VERSION}-freebsd-${UNAME_M} release-netbsd: - mkdir -p release + mkdir -p release/bin ${CC} ${CFLAGS} -o release/${NAME}-${VERSION}-netbsd-${UNAME_M} ${FILES} \ -static -lgpgme -lcrypto -lcrypt -lc -lassuan -lgpg-error -lintl strip release/${NAME}-${VERSION}-netbsd-${UNAME_M} release-linux: - mkdir -p release + mkdir -p release/bin ${CC} ${CFLAGS} -o release/${NAME}-${VERSION}-linux-${UNAME_M} ${FILES} \ -static -lgpgme -lcrypto -lc -lassuan -lgpg-error strip release/${NAME}-${VERSION}-linux-${UNAME_M} -- 2.43.0