From 954866bef960bd4479c25caf624f3ce5abc687ca Mon Sep 17 00:00:00 2001
From: sparky4 <sparky4@cock.li>
Date: Fri, 26 Aug 2016 11:44:54 -0500
Subject: [PATCH] updating make file today

---
 makefile  | 5 +++--
 wbuild.sh | 4 ++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/makefile b/makefile
index 3e7cfb26..70f77a3a 100755
--- a/makefile
+++ b/makefile
@@ -45,7 +45,7 @@ DUMP=cat
 REMOVECOMMAND=del
 COPYCOMMAND=copy /y
 DIRSEP=\
-OBJ=obj
+OBJ=OBJ
 DUMP=type
 !endif
 
@@ -82,7 +82,7 @@ SFLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k32768#54096#60000
 DFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 $(SFLAGS)
 ZFLAGS=-zk0 -zc -zp8 -zm $(WCLQ)
 LFLAGS=-lr -l=dos
-CFLAGS=$(AFLAGS) $(IFLAGS) -wo -i$(DOSLIB) $(LFLAGS)
+CFLAGS=$(AFLAGS) $(IFLAGS) -wo -i$(DOSLIB) $(LFLAGS) -fo=.$(OBJ)
 OFLAGS=-obmilr -oe=24 -out -oh -ei -zp8 -fpi87  -onac -ol+ -ok####x
 FLAGS=$(CFLAGS) $(OFLAGS) $(DFLAGS) $(ZFLAGS)
 
@@ -517,6 +517,7 @@ initlibs: .symbolic
 	@git clone https://github.com/id-Software/wolf3d.git
 	@git clone https://github.com/keendreams/keen.git
 	@cd $(PDIR)
+	@cp $(SRCLIB)doslib/make-lowercase .
 
 ##
 ##	experimental libs
diff --git a/wbuild.sh b/wbuild.sh
index 016d165c..12b60be7 100755
--- a/wbuild.sh
+++ b/wbuild.sh
@@ -7,3 +7,7 @@ then
 	echo dumping *.err
 	cat *.err
 fi
+if [ -f *.o ]
+then
+	rm *.o
+fi
-- 
2.39.5