From 828e00e668b9fd0be4d9676fce8e192ca456bc78 Mon Sep 17 00:00:00 2001 From: z3APA3A <3APA3A@3proxy.ru> Date: Sun, 22 Nov 2020 02:10:32 +0300 Subject: [PATCH] correct afterclean --- Makefile.inc | 5 +++-- Makefile.msvc | 2 +- Makefile.msvc64 | 2 +- Makefile.msvcARM64 | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile.inc b/Makefile.inc index 8c72c55..5448bdb 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -8,8 +8,9 @@ all: clean: @$(REMOVECOMMAND) *$(OBJSUFFICS) $(COMPFILES) - @cd src && $(MAKE) clean - cd .. + @cd src + $(MAKE) clean + @cd .. @$(AFTERCLEAN) diff --git a/Makefile.msvc b/Makefile.msvc index b807670..3cb94e0 100644 --- a/Makefile.msvc +++ b/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 diff --git a/Makefile.msvc64 b/Makefile.msvc64 index ec21372..0fdaaf2 100644 --- a/Makefile.msvc64 +++ b/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 diff --git a/Makefile.msvcARM64 b/Makefile.msvcARM64 index 6fcfed2..0708fe2 100644 --- a/Makefile.msvcARM64 +++ b/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