From 308ebea68e206c1dbd88c34ee7d8a36480b664d8 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 23 Nov 2019 10:13:10 -0500 Subject: [PATCH] add some msdos files to .gitignore, produce zip --- .gitignore | 13 +++++++++++++ sys/msdos/msdos-cross-compile.sh | 12 ++++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 9dc6b49f5..a8990a153 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,16 @@ Makefile.gcc-orig .vs # Win32-specific ignores end .DS_Store +# ms-dos +# resulting zip +NH*DOS.ZIP +# 8.3 versions +dat/data.bas +sys/share/posixreg.c +include/patchlev.h +doc/guidebk.txt +# folders compiler, target objs, binary results +djgpp/ +src/msdos_o/ +msdos-binary/ +# end of ms-dos diff --git a/sys/msdos/msdos-cross-compile.sh b/sys/msdos/msdos-cross-compile.sh index 1e20b0931..03c0e0e49 100644 --- a/sys/msdos/msdos-cross-compile.sh +++ b/sys/msdos/msdos-cross-compile.sh @@ -44,14 +44,14 @@ cp ../dat/data.base ../dat/data.bas cp ../include/patchlevel.h ../include/patchlev.h cp ../doc/Guidebook.txt ../doc/guidebk.txt cp ../sys/share/posixregex.c ../sys/share/posixreg.c -cp ../sys/msdos/Makefile1.cross ../src/Makefile1 -cp ../sys/msdos/Makefile2.cross ../src/Makefile2 -make -f Makefile1 +#cp ../sys/msdos/Makefile1.cross ../src/Makefile1 +#cp ../sys/msdos/Makefile2.cross ../src/Makefile2 +make -f ../sys/msdos/Makefile1 cat ../include/date.h export GCC_EXEC_PREFIX=$DJGPP_TOP/lib/gcc/ export pwd -make -f Makefile2 +make -f ../sys/msdos/Makefile2 unset GCC_EXEC_PREFIX pwd ls ../djgpp/cwsdpmi/bin @@ -60,4 +60,8 @@ if [ -f ../djgpp/cwsdpmi/bin/CWSDPMI.EXE ]; then cp ../djgpp/cwsdpmi/bin/CWSDPMI.EXE ../msdos-binary/CWSDPMI.EXE; fi ls -l ../msdos-binary +cd ../msdos-binary +zip -9 ../NH370DOS.ZIP * +cd ../ +ls -l NH370DOS.ZIP