Modified the DOS target so that it deletes the stella.exe right before

it creates the new one.  The copy command that follows the delete was
not working if the executable already existed.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@72 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
bwmott 2002-04-22 00:53:19 +00:00
parent 227b2178a7
commit 9586b86626
1 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,7 @@
## See the file "license" for information on usage and redistribution of
## this file, and for a DISCLAIMER OF ALL WARRANTIES.
##
## $Id: makefile,v 1.14 2002-04-10 04:00:58 bwmott Exp $
## $Id: makefile,v 1.15 2002-04-22 00:53:19 bwmott Exp $
##============================================================================
##============================================================================
@ -235,7 +235,8 @@ stella.exe: $(CORE_OBJS) $(OBJS)
$(LD) -o a.exe *.o $(LDFLAGS) $(LDLIBS)
exe2coff a.exe
strip a
copy /B $(DJGPP:\DJGPP.ENV=)\bin\pmodstub.exe + a stella.exe
del stella.exe
copy /B $(DJGPP:\DJGPP.ENV=)\bin\pmodstub.exe+a stella.exe
del a
del a.exe