--- Makefile 2024/10/18 23:31:31 1.3 +++ Makefile 2024/10/28 00:02:48 1.5 @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.3 2024/10/18 23:31:31 nishi Exp $ +# $Id: Makefile,v 1.5 2024/10/28 00:02:48 nishi Exp $ PWD = `pwd` PLATFORM = generic @@ -23,6 +23,7 @@ src-archive: clean 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'` 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