From 54dee8861d732a876523017c5d28d9de2598ba6f Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 22 Mar 2017 11:24:12 -0500 Subject: [PATCH] __seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd.c ][ ca needs huge amounts of work and i should remember what needs to be done soon also i should reverify 16_in.c to make sure it can work with other code of id engine] going to port rest of code to borland c some time so we can use the core components of id engine here[script file cleanup and i tweaked it] --- .gitignore | 5 ++++- WBUILD.BAT | 7 +++++++ makefile | 10 +++++++--- src/util/git/git_igno.re | 9 ++++++++- ud.sh | 7 +++++++ wbuild.sh | 15 +++++++++++++++ 6 files changed, 48 insertions(+), 5 deletions(-) create mode 100755 WBUILD.BAT create mode 100755 ud.sh create mode 100755 wbuild.sh diff --git a/.gitignore b/.gitignore index b6e7e567..1e3a0af9 100755 --- a/.gitignore +++ b/.gitignore @@ -20,9 +20,12 @@ LICENCE~ *.meh *.MEH __wcl__.lnk -!bcexmm.map +#!bcexmm.map !makefile !modex.lib +!wbuild.sh +!WBUILD.BAT +!ud.sh img !.git/config !.gitmodules diff --git a/WBUILD.BAT b/WBUILD.BAT new file mode 100755 index 00000000..4a61ec18 --- /dev/null +++ b/WBUILD.BAT @@ -0,0 +1,7 @@ +@echo off +wmake -h clean +wmake -h +rem wmake -h comp +if exist *.err (wmake vomitchan) +rem if exist *.o (del *.o) +rem if exist *.obj (del *.obj) diff --git a/makefile b/makefile index 6c97f4e4..306538e0 100755 --- a/makefile +++ b/makefile @@ -379,6 +379,7 @@ ll.$(OBJ): $(SRCLIB)/ll.c $(SRCLIB)/ll.h # clean: .symbolic @if not exist $(DOSLIBDIR)/buildall.sh wmake -h initlibs + @wmake -h initscript @for %f in ($(ALLEXEC)) do @if exist %f $(REMOVECOMMAND) %f !ifdef __LINUX__ @if exist *.LIB $(REMOVECOMMAND) *.LIB @@ -439,13 +440,16 @@ backupscript: .symbolic @if exist *.sh $(MOVECOMMAND) *.sh $(SCRIPTBATDIR)/ !ifdef __LINUX__ @if exist *.BAT $(MOVECOMMAND) *.BAT $(SCRIPTBATDIR)/ + @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 ./ initscript: .symbolic - @if not exist *.bat $(COPYCOMMAND) $(SCRIPTBATDIR)/*.bat ./ - @if not exist *.sh $(COPYCOMMAND) $(SCRIPTBATDIR)/*.sh ./ + @$(COPYCOMMAND) $(SCRIPTBATDIR)/*.bat ./ + @$(COPYCOMMAND) $(SCRIPTBATDIR)/*.sh ./ !ifdef __LINUX__ - @if not exist *.BAT $(COPYCOMMAND) $(SCRIPTBATDIR)/*.BAT ./ + @$(COPYCOMMAND) $(SCRIPTBATDIR)/*.BAT ./ !endif diff --git a/src/util/git/git_igno.re b/src/util/git/git_igno.re index 70ed7d75..1e3a0af9 100755 --- a/src/util/git/git_igno.re +++ b/src/util/git/git_igno.re @@ -20,12 +20,19 @@ LICENCE~ *.meh *.MEH __wcl__.lnk -!bcexmm.map +#!bcexmm.map !makefile !modex.lib +!wbuild.sh +!WBUILD.BAT +!ud.sh img !.git/config !.gitmodules +pcx2vrl +pcxsscut +vrl2vrs +vrsdump # except foo.html which is maintained by hand. #!foo.html # Ignore objects and archives. diff --git a/ud.sh b/ud.sh new file mode 100755 index 00000000..0219a4c6 --- /dev/null +++ b/ud.sh @@ -0,0 +1,7 @@ +#rm pcx2vrl +#rm pcxsscut +#rm vrl2vrs +#rm vrsdump +rm -f *.16W +git pull +wmake -h uplibs diff --git a/wbuild.sh b/wbuild.sh new file mode 100755 index 00000000..17c1b3e3 --- /dev/null +++ b/wbuild.sh @@ -0,0 +1,15 @@ +#! /bin/bash +wmake -h clean +wmake -h +wmake -h comp +#if [[ -f *.err ]] +#then +# echo dumping *.err + #cat *.err + wmake -h vomitchan +#fi +#if [ -f 16_head.o ] +#then +# rm *.o +#fi +####wmake -h inntest.exe -- 2.39.5