--- Makefile 2024/10/28 00:01:52 1.4 +++ Makefile 2024/10/28 00:02:48 1.5 @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.4 2024/10/28 00:01:52 nishi Exp $ +# $Id: Makefile,v 1.5 2024/10/28 00:02:48 nishi Exp $ PWD = `pwd` PLATFORM = generic @@ -22,8 +22,8 @@ src-archive: clean @svn cleanup --remove-unversioned cp -rf . /tmp/tewi-`grep "define TW_VERSION" Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'` cd /tmp && tar --exclude .github -czvf tewi-`grep "define TW_VERSION" tewi-*/Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`.tar.gz tewi-`grep "define TW_VERSION" tewi-*/Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'` - rm -rf /tmp/tewi-* mv /tmp/tewi-`grep "define TW_VERSION" Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`.tar.gz ./ + rm -rf /tmp/tewi-* ./Tool/option: ./Tool/option.c config.h prepare-config cc -o $@ ./Tool/option.c