BUILD_DIR = build_ICC9 CXX = "/cygdrive/c/Program Files/Intel/Compiler/C++/9.1/Ia32/Bin/icl.exe" ICC9_PATH = '"/cygdrive/c/Program Files/Intel/Compiler/C++/9.1/Ia32/Bin":"/cygdrive/c/Program Files/Common Files/Intel/Shared Files/Ia32/Bin"' VC8_PATH = '"/cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/bin":"/cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE"' ICC9_LIB = '"C:\Program Files\Intel\Compiler\C++\9.1\Ia32\Lib";"C:\cygwin\usr\local\src\cpptest-1.0.2\win\VisualStudio.NET\cpptest\Release";"C:\Program Files\Microsoft Visual Studio 8\VC\lib";"C:\Program Files\Microsoft Platform SDK\lib"' ICC9_INCLUDE = "C:\Program Files\Intel\Compiler\C++\9.1\Ia32\Include" CFLAGS += /O3 /Qopenmp /Qparallel /QaxP /D "WIN32" /D "_CONSOLE" /D "_MBCS" /MD /EHsc #/W4 /Wp64 /Zi INCLUDES = /I "..\..\common" \ /I "..\..\navigation" \ /I "C:\Program Files\Microsoft Platform SDK\include" \ /I "C:\Program Files\Microsoft Visual Studio 8\VC\include" \ /I "C:\cygwin\usr\local\include" LDFLAGS += all : $(BUILD_DIR) : mkdir $(BUILD_DIR) %.exe : %.cpp $(BUILD_DIR) export PATH=$$PATH:${ICC9_PATH}:${VC8_PATH}; \ export LIB=${ICC9_LIB}; \ export INCLUDE=${ICC9_INCLUDE}:'$$INCLUDE'; \ echo $$PATH; \ echo $$LIB; \ echo $$INCLUDE; \ cd $(BUILD_DIR); \ ${CXX} ${INCLUDES} ${CFLAGS} /Fe$@ ../$< cpptest.lib ${LDFLAGS}; \ # ./$@ %.exe : %.c $(BUILD_DIR) export PATH='$$PATH':${ICC9_PATH}:${VC8_PATH}; \ export LIB=${ICC9_LIB}; \ export INCLUDE=${ICC9_INCLUDE}:'$$INCLUDE'; \ cd $(BUILD_DIR); \ ${CXX} ${INCLUDES} ${CFLAGS} /Fe$@ ../$< ${LDFLAGS}; \ ./$@ clean : rm -f $(BUILD_DIR)/* .PHONY : clean all