]> granicus.if.org Git - nethack/commitdiff
add some msdos files to .gitignore, produce zip
authornhmall <nhmall@nethack.org>
Sat, 23 Nov 2019 15:13:10 +0000 (10:13 -0500)
committernhmall <nhmall@nethack.org>
Sat, 23 Nov 2019 15:13:10 +0000 (10:13 -0500)
.gitignore
sys/msdos/msdos-cross-compile.sh

index 9dc6b49f5fb29d18c8071936af8656270c2ff7e0..a8990a1538486affed49f3c006372f0d11874c15 100644 (file)
@@ -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
index 1e20b0931e3acb448c43881c28eb49c01426cacf..03c0e0e49eb1e4bca81766884dab456c9af8cf4c 100644 (file)
@@ -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