win32 build system: nmake clean fail

From: Date: Fri, 30 Jan 2004 14:56:24 +0000
Subject: win32 build system: nmake clean fail
Groups: php.internals 
Request: Send a blank email to internals+get-7421@lists.php.net to get a copy of this message
Hi, currently playing around with the win32 build system, and I found that nmake clean doesn't work (in fact nmake clean-sapi). From Makefile: clean-sapi: @echo Cleaning SAPI @for %D in ($(EXT_TARGETS)) do @del /F /Q $(BUILD_DIR)\%D > NUL @for %D in ($(PECL_TARGETS)) do @del /F /Q $(BUILD_DIR)\%D > NUL @for %D in ($(SAPI_TARGETS)) do @del /F /Q $(BUILD_DIR)\%D > NUL @del /F /Q $(BUILD_DIR)\$(PHPDLL) It fail for EXT_TARGETS and PECL_TARGETS (they are not defined in the Makefile). Commenting this lines solves my problem. My configure line was: cscript /nologo configure.js And error log is: D:\LOCAL\cvs\php\php-src>nmake clean Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. Cleaning SAPI NMAKE : fatal error U1077: 'for' : return code '0x77f988f0' Stop. Regards, Eric

« previous php.internals (#7421) next »