msi-installer: dist
$(BUILD_DIR)\php.exe ..\php-installer\build-installer.php "$(BUILD_DIR)" "$(PHPDLL)" "$(SAPI_TARGETS)" "$(EXT_TARGETS)"
+install: all
+ @copy $(BUILD_DIR)\*.exe $(PHP_PREFIX) /y >null
+ @copy $(BUILD_DIR)\*.dll $(PHP_PREFIX) /y >null
+
\ No newline at end of file
ARG_ENABLE('zts', 'Thread safety', 'yes');
// Configures the hard-coded installation dir
-ARG_ENABLE('prefix', 'where PHP will be installed', 'C:\\php5');
+if (PHP_DEBUG == "yes") {
+ ARG_ENABLE('prefix', 'where PHP will be installed', 'C:\\php5\\debug');
+} else {
+ ARG_ENABLE('prefix', 'where PHP will be installed', 'C:\\php5');
+}
+DEFINE('PHP_PREFIX', PHP_PREFIX);
DEFINE("BASE_INCLUDES", "/I . /I main /I regex /I Zend /I TSRM ");