X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=makefile;h=b7c3b5c5511f37a72501ded503961bb1e24b4737;hb=6baafa4c46edc152857c1d12e72bc1d0bbf22051;hp=0bd9ef9c0f6d3832c444015a244ed4cbcdbb7dc1;hpb=69116cfff2e915ad9d2f95268432fe4bd0e007d9;p=16.git diff --git a/makefile b/makefile index 0bd9ef9c..b7c3b5c5 100755 --- a/makefile +++ b/makefile @@ -55,7 +55,7 @@ DOSLIBMAKEALL=./buildall.sh build all to_os_path=/=\ REMOVECOMMAND=del COPYCOMMAND=copy /y -MOVECOMMAND=move /q +MOVECOMMAND=move /y DIRSEP=\ OBJ=obj DUMP=type @@ -306,7 +306,7 @@ vrstest.exe: vrstest.$(OBJ) $(16LIB) gfx.lib $(DOSLIB) palettec.exe: palettec.$(OBJ) $(16LIB) gfx.lib $(DOSLIB) palettel.exe: palettel.$(OBJ) $(16LIB) gfx.lib $(DOSLIB) palbomb.exe: palbomb.$(OBJ) $(16LIB) gfx.lib $(DOSLIB) -pcxtest2.exe: pcxtest2.$(OBJ) gfx.lib $(DOSLIB) +pcxtest2.exe: pcxtest2.$(OBJ) gfx.lib $(DOSLIB) $(16LIB) #planrpcx.exe: planrpcx.$(OBJ) gfx.lib maptest.exe: maptest.$(OBJ) 16_map.$(OBJ) 16_head.$(OBJ) gfx.lib $(DOSLIB) $(16LIB) fmemtest.exe: fmemtest.$(OBJ) @@ -501,13 +501,14 @@ clean: .symbolic @if exist *.EXE $(REMOVECOMMAND) *.EXE @if exist *.OBJ $(REMOVECOMMAND) *.OBJ #@for %f in ($(SPRIUTILEXEC)) do @if exist %f $(REMOVECOMMAND) %f - @if not exist vrl2vrs wmake -s -h pcx2vrl + @if not exist vrl2vrs wmake -s -h vrl2vrs + @if not exist pcx2vrl wmake -s -h pcx2vrl + #@if not exist png2vrl wmake -s -h png2vrl @if not exist dro2imf wmake -s -h drotoimf @if not exist raw2vgm wmake -s -h vgmtools !else @if exist *.o $(REMOVECOMMAND) *.o !endif - @wmake -s -h exe2e @if exist *.$(OBJ) $(REMOVECOMMAND) *.$(OBJ) @if exist *.bco $(REMOVECOMMAND) *.bco @if exist *.BCO $(REMOVECOMMAND) *.BCO @@ -578,16 +579,22 @@ 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 + @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) - #@for %f in ($(ALLEXEC)) do @if exist %f $(REMOVECOMMAND) %f + @if exist $(SRCLIB)/*.exe $(MOVECOMMAND) $(SRCLIB)/*.exe . e2exe: .symbolic @if exist $(SRC)/*.exe $(MOVECOMMAND) $(SRC)/*.exe . @@ -740,7 +747,16 @@ vrl: .symbolic $(SPRIUTILEXEC): @cd $(DOSLIB_VGA:$(to_os_path)) #@make clean - @make all + ####@make all + @make pcx2vrl + @make vrl2vrs + @for %f in ($(SPRIUTILEXEC)) do @if exist %f $(COPYCOMMAND) %f $(BUILD_ROOT)#/ + @cd $(BUILD_ROOT) + +png2vrl: .symbolic + @cd $(DOSLIB_VGA:$(to_os_path)) + #@make clean + @make png2vrl @for %f in ($(SPRIUTILEXEC)) do @if exist %f $(COPYCOMMAND) %f $(BUILD_ROOT)#/ @cd $(BUILD_ROOT) !endif