X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=makefile;h=45ce150647bc7a7bfad1619cc11f4a58e786d613;hb=c3836b6c7bb721de91292bcc9eca59d5e518c54b;hp=c0f1ecb0c0580b09d65ca730644123125c7d76fd;hpb=a132cdfe01b7be3fa915419b84e09358c1bcfaf6;p=16.git diff --git a/makefile b/makefile index c0f1ecb0..45ce1506 100755 --- a/makefile +++ b/makefile @@ -55,7 +55,7 @@ DOSLIBMAKEALL=./buildall.sh build all to_os_path=/=\ REMOVECOMMAND=del COPYCOMMAND=copy /y -MOVECOMMAND=move +MOVECOMMAND=move /y DIRSEP=\ OBJ=obj DUMP=type @@ -495,7 +495,6 @@ 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 @@ -578,19 +577,25 @@ initscript: .symbolic comp: .symbolic - @if exist *.exe @upx -9 *.exe#$(EXEC) + @wmake -s -h exe2e + @*upx -9 *.exe#$(EXEC) @wmake -s -h e2exe comq: .symbolic - @if exist *.exe @upx -9 $(UPXQ) *.exe#$(EXEC) + @wmake -s -h exe2e + @*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 + @for %f in ($(ALLEXEC)) do @if exist %f $(MOVECOMMAND) %f $(SRCLIB) +!ifdef __LINUX__ + @if exist *.EXE ./make-lowercase *.EXE +!endif + @if exist *.exe $(MOVECOMMAND) *.exe $(SRC) + @if exist $(SRCLIB)/*.exe $(MOVECOMMAND) $(SRCLIB)/*.exe . e2exe: .symbolic - @if exist *.e $(MOVECOMMAND) *.e *.exe + @if exist $(SRC)/*.exe $(MOVECOMMAND) $(SRC)/*.exe . www: .symbolic @if exist 16.exe @wmake -s -h wwwdo @@ -612,7 +617,7 @@ wwwdo: .symbolic wwwext: .symbolic @wmake -s -h wwwext2 - @wmake -s -h wwwext1 + #@wmake -s -h wwwext1 wwwext1: .symbolic ####----@ssh -p $(HOSTPORT) $(HOSTUSER)@$(HOSTADDR) 'rm -f $(HOSTDIR)/16/*exe*'