ソースを参照

correct afterclean

z3APA3A 5 年 前
コミット
828e00e668
4 ファイル変更6 行追加5 行削除
  1. 3 2
      Makefile.inc
  2. 1 1
      Makefile.msvc
  3. 1 1
      Makefile.msvc64
  4. 1 1
      Makefile.msvcARM64

+ 3 - 2
Makefile.inc

@@ -8,8 +8,9 @@ all:
 
 clean:
 	@$(REMOVECOMMAND) *$(OBJSUFFICS) $(COMPFILES)
-	@cd src && $(MAKE) clean
-	cd ..
+	@cd src
+	$(MAKE) clean
+	@cd ..
 	@$(AFTERCLEAN)
 	
 

+ 1 - 1
Makefile.msvc

@@ -33,7 +33,7 @@ VERFILE = 3proxy.res $(VERFILE)
 VERSION = $(VERSION)
 VERSIONDEP = 3proxy.res $(VERSIONDEP)
 BUILDDATE = $(BUILDDATE)
-AFTERCLEAN = del src/*.res
+AFTERCLEAN = if exist src\*.res del src\*.res
 
 include Makefile.inc
 

+ 1 - 1
Makefile.msvc64

@@ -30,7 +30,7 @@ COMPATLIBS =
 VERFILE = 3proxy.res $(VERFILE)
 VERSIONDEP = 3proxy.res $(VERSIONDEP)
 PLUGINS = utf8tocp1251 WindowsAuthentication TrafficPlugin StringsPlugin PCREPlugin FilePlugin SSLPlugin
-AFTERCLEAN = del src/*.res
+AFTERCLEAN = del src\*.res
 
 include Makefile.inc
 

+ 1 - 1
Makefile.msvcARM64

@@ -31,7 +31,7 @@ MAKEFILE = Makefile.msvcARM64
 PLUGINS = utf8tocp1251 WindowsAuthentication TrafficPlugin StringsPlugin PCREPlugin FilePlugin
 VERFILE = 3proxy.res $(VERFILE)
 VERSIONDEP = 3proxy.res $(VERSIONDEP)
-AFTERCLEAN = del src/*.res
+AFTERCLEAN = del src\*.res
 
 
 include Makefile.inc