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