Added "sleep 10" before and after strip in the makefile, in order to wait for the retarded Windows file locking mechanism to unlock the executable.

This commit is contained in:
OBattler
2017-01-16 19:37:10 +01:00
parent 74ca5233fb
commit 8a16c015b9
2 changed files with 4 additions and 0 deletions

View File

@@ -32,7 +32,9 @@ LIBS = -mwindows -lwinmm -lopenal.dll -lopenal -lddraw -ldinput8 -ldxguid -ld3d9
86Box.exe: $(OBJ) $(DBOBJ) $(LZFOBJ) $(SIDOBJ) $(SLIRPOBJ)
$(CC) $(OBJ) $(DBOBJ) $(LZFOBJ) $(SIDOBJ) $(SLIRPOBJ) -o "86Box.exe" $(LIBS)
sleep 10
strip "86Box.exe"
sleep 10
all : 86Box.exe

View File

@@ -32,7 +32,9 @@ LIBS = -mwindows -lwinmm -lopenal -lddraw -ldinput8 -ldxguid -ld3d9 -ld3dx9 -lws
86Box64.exe: $(OBJ) $(DBOBJ) $(LZFOBJ) $(SIDOBJ) $(SLIRPOBJ)
$(CC) $(OBJ) $(DBOBJ) $(LZFOBJ) $(SIDOBJ) $(SLIRPOBJ) -o "86Box64.exe" $(LIBS)
sleep 10
strip "86Box64.exe"
sleep 10
all : 86Box64.exe