diff --git a/Makefile b/Makefile index e674ef697d..3f5d97d132 100644 --- a/Makefile +++ b/Makefile @@ -287,6 +287,7 @@ clean: @-$(RM_F) *.exe *.dll ./OpenRA*/*.dll ./OpenRA*/*.mdb *.mdb mods/**/*.dll mods/**/*.mdb *.resources @-$(RM_RF) ./*/bin ./*/obj @-$(RM_F) ./thirdparty/*.dll + @-$(RM_RF) ./thirdparty/windows distclean: clean diff --git a/make.ps1 b/make.ps1 index 41f4c6b7c0..a765ee7f10 100644 --- a/make.ps1 +++ b/make.ps1 @@ -71,8 +71,10 @@ elseif ($command -eq "clean") else { $proc = Start-Process $msBuild $msBuildArguments -NoNewWindow -PassThru -Wait - rm *.dll # delete third party dependencies + rm *.dll rm *.config + rm thirdparty/*.dll + rmdir thirdparty/windows/ rm mods/*/*.dll echo "Clean complete." }