From: sparky4 Date: Wed, 8 May 2019 16:33:01 +0000 (-0500) Subject: fixed the issue with compiling in dos in 1.9 and 2.0. only 1.9 linux fails for some... X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=54460b8770fffd34cf39929bb4c718175e9317c8;p=16.git fixed the issue with compiling in dos in 1.9 and 2.0. only 1.9 linux fails for some reason --- diff --git a/JOYTEST.E b/JOYTEST.E new file mode 100755 index 00000000..cce505eb Binary files /dev/null and b/JOYTEST.E differ diff --git a/MAPTEST.UPX b/MAPTEST.UPX new file mode 100755 index 00000000..e69de29b diff --git a/opltest.exe b/OPLTEST.E similarity index 100% rename from opltest.exe rename to OPLTEST.E diff --git a/WBUILD.BAT b/WBUILD.BAT index 48209403..49b1100d 100755 --- a/WBUILD.BAT +++ b/WBUILD.BAT @@ -3,7 +3,6 @@ set pee="-h" rem -s" wmake -h -s clean wmake %pee -rem TODO ADD ME LATER ++ wmake %pee comp if exist *.err (wmake %pee vomitchan) rem if exist *.o (del *.o) diff --git a/bcexmm.exe b/bcexmm.exe deleted file mode 100755 index ddd979ba..00000000 Binary files a/bcexmm.exe and /dev/null differ diff --git a/makefile b/makefile index f97dce25..bbc64e1b 100755 --- a/makefile +++ b/makefile @@ -59,8 +59,8 @@ MOVECOMMAND=move DIRSEP=\ OBJ=obj DUMP=type -DOSLIBMAKE=.\make.bat -DOSLIBMAKEALL=.\build.bat +DOSLIBMAKE=make.bat build all +DOSLIBMAKEALL=buildall.bat build all !endif TARGET_OS = dos @@ -71,9 +71,9 @@ BUILD_ROOT=$+$(%__CWD__)$- DATADIR=data/ SPRI=$(DATADIR)/spri SRC=src -UTIL=$(SRC)/util +UTIL=$(SRC)$(DIRSEP)util GITCONFIGDIR=$(UTIL)/git -SCRIPTBATDIR=$(UTIL)/shbat +SCRIPTBATDIR=$(UTIL)$(DIRSEP)shbat SRCLIB=$(SRC)/lib JSMNLIB=$(SRCLIB)/jsmn NYANLIB=$(SRCLIB)/nyan @@ -250,11 +250,13 @@ EXEC = & 16.exe & bakapi.exe & $(TESTEXEC) & - $(UTILEXEC) + $(UTILEXEC) & + $(DOSLIBTESTEXEC) -#!ifdef __LINUX__ -#EXEC += $(SPRIUTILEXEC) -#!endif +!ifdef __LINUX__ +#++?EXEC += $(SPRIUTILEXEC) +#EXEC += $(DOSLIBTESTEXEC) +!endif ALLEXEC = & $(EXEC) & @@ -493,6 +495,7 @@ clean: .symbolic @if not exist $(DOSLIBDIR)/buildall.sh wmake -s -h initlibs @wmake -s -h initscript @for %f in ($(ALLEXEC)) do @if exist %f $(REMOVECOMMAND) %f + @wmake -s -h exe2e !ifdef __LINUX__ @if exist *.LIB $(REMOVECOMMAND) *.LIB @. src/util/bcexmm.sh @@ -552,31 +555,42 @@ initconfig: .symbolic backupscript: .symbolic @$(COPYCOMMAND) WBUILD.BAT WBUILD.B - @$(COPYCOMMAND) wbuild.sh wbuild.s @if exist *.bat $(MOVECOMMAND) *.bat $(SCRIPTBATDIR)/ - @if exist *.sh $(MOVECOMMAND) *.sh $(SCRIPTBATDIR)/ @$(MOVECOMMAND) WBUILD.B WBUILD.BAT - @$(MOVECOMMAND) wbuild.s wbuild.sh + !ifdef __LINUX__ + @$(COPYCOMMAND) wbuild.sh wbuild.s + @if exist *.sh $(MOVECOMMAND) *.sh $(SCRIPTBATDIR)/ + @$(MOVECOMMAND) wbuild.s wbuild.sh + @if exist *.BAT $(MOVECOMMAND) *.BAT $(SCRIPTBATDIR)/ - @if not exist ud.sh $(COPYCOMMAND) $(SCRIPTBATDIR)/ud.sh ./ + @if not exist ud.sh $(COPYCOMMAND) $(SCRIPTBATDIR)/ud.sh . !endif - @if not exist wbuild.sh $(COPYCOMMAND) $(SCRIPTBATDIR)/wbuild.sh ./ - @if not exist WBUILD.BAT $(COPYCOMMAND) $(SCRIPTBATDIR)/WBUILD.BAT ./ + @if not exist wbuild.sh $(COPYCOMMAND) $(SCRIPTBATDIR)/wbuild.sh . + @if not exist WBUILD.BAT $(COPYCOMMAND) $(SCRIPTBATDIR)/WBUILD.BAT . initscript: .symbolic - @$(COPYCOMMAND) $(SCRIPTBATDIR)/*.bat ./ - @$(COPYCOMMAND) $(SCRIPTBATDIR)/*.sh ./ + @$(COPYCOMMAND) $(SCRIPTBATDIR)$(DIRSEP)*.bat . !ifdef __LINUX__ - @$(COPYCOMMAND) $(SCRIPTBATDIR)/*.BAT ./ + @$(COPYCOMMAND) $(SCRIPTBATDIR)$(DIRSEP)*.sh . + @$(COPYCOMMAND) $(SCRIPTBATDIR)/*.BAT . !endif comp: .symbolic - @*upx -9 $(EXEC) + @*upx -9 *.exe#$(EXEC) + @wmake -s -h e2exe comq: .symbolic - @*upx -9 $(UPXQ) $(EXEC) + @*upx -9 $(UPXQ) *.exe#$(EXEC) + @wmake -s -h e2exe + +exe2e: .symbolic + @if exist *.exe $(MOVECOMMAND) *.exe *.e + #@for %f in ($(ALLEXEC)) do @if exist %f $(REMOVECOMMAND) %f + +e2exe: .symbolic + @if exist *.e $(MOVECOMMAND) *.e *.exe www: .symbolic @if exist 16.exe @wmake -s -h wwwdo diff --git a/palllist.exe b/palllist.exe deleted file mode 100755 index 8db76c53..00000000 Binary files a/palllist.exe and /dev/null differ diff --git a/sdtest.exe b/sdtest.exe deleted file mode 100755 index 79c5b979..00000000 Binary files a/sdtest.exe and /dev/null differ diff --git a/src/util/shbat/WBUILD.BAT b/src/util/shbat/WBUILD.BAT index 48209403..49b1100d 100755 --- a/src/util/shbat/WBUILD.BAT +++ b/src/util/shbat/WBUILD.BAT @@ -3,7 +3,6 @@ set pee="-h" rem -s" wmake -h -s clean wmake %pee -rem TODO ADD ME LATER ++ wmake %pee comp if exist *.err (wmake %pee vomitchan) rem if exist *.o (del *.o)