]> granicus.if.org Git - php/commitdiff
Fix #27638: not cleaning up object files in win32 build
authorWez Furlong <wez@php.net>
Tue, 18 May 2004 21:07:01 +0000 (21:07 +0000)
committerWez Furlong <wez@php.net>
Tue, 18 May 2004 21:07:01 +0000 (21:07 +0000)
win32/build/Makefile

index b2f40f04c13c6b1042c1a47ab77760e39e12be18..1f913e5328afbba8e87c9079b19890147f89c70b 100644 (file)
@@ -72,7 +72,7 @@ clean-sapi:
 
 clean: clean-sapi
        @echo Cleaning build dirs
-       @for %D in (_x $(BUILD_DIRS_SUB)) do @if exist @del /F /Q %D\*.* > NUL
+       @for %D in (_x $(BUILD_DIRS_SUB)) do @if exist %D @del /F /Q %D\*.* > NUL
        -@del /F /Q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUILD_DIR)\*.pdb $(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\php-$(PHP_VERSION_STRING).zip > NUL
        -rmdir /s /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING)