From: 諏訪子 Date: Tue, 16 Apr 2024 04:33:38 +0000 (+0900) Subject: 忘れた X-Git-Tag: sp-1.3.0~21 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=fe286d22ce7332697dfd51098db411baaef8e16f;p=sp.git 忘れた --- 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