cvs: php-src /win32/build Makefile
| From: | Wez Furlong | Date: | Thu, 04 Dec 2003 17:28:09 +0000 |
| Subject: | cvs: php-src /win32/build Makefile | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-24920@lists.php.net to get a copy of this message | ||
wez Thu Dec 4 12:28:09 2003 EDT
Modified files:
/php-src/win32/build Makefile
Log:
Avoid killing files that we didn't generate when making clean.
Index: php-src/win32/build/Makefile
diff -u php-src/win32/build/Makefile:1.6 php-src/win32/build/Makefile:1.7
--- php-src/win32/build/Makefile:1.6 Wed Dec 3 20:37:52 2003
+++ php-src/win32/build/Makefile Thu Dec 4 12:28:08 2003
@@ -14,7 +14,7 @@
# | Author: Wez Furlong <wez@thebrainroom.com> |
# +----------------------------------------------------------------------+
#
-# $Id: Makefile,v 1.6 2003/12/04 01:37:52 wez Exp $
+# $Id: Makefile,v 1.7 2003/12/04 17:28:08 wez Exp $
# This is the makefile template for the win32 build
CC="$(CL)"
@@ -61,9 +61,13 @@
mkdir $(BUILD_DIR)
for %D in ($(BUILD_DIRS_SUB)) do mkdir %D
-clean:
+clean-sapi:
+ for %D in ($(EXT_TARGETS) $(SAPI_TARGETS)) do del /F /Q $(BUILD_DIR)\%D
+ del /F /Q $(BUILD_DIR)\$(PHPDLL)
+
+clean: clean-sapi
for %D in ($(BUILD_DIRS_SUB)) do del /F /Q %D\*.*
- del /F /Q $(BUILD_DIR)\*.*
+ del /F /Q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUILD_DIR)\*.pdb
$(BUILD_DIR)\*.exp
test:
<<test_suite_uses_lame_env_vars.bat