CXX = "/cygdrive/d/Program Files/Microsoft Visual C++ Toolkit 2003/bin/cl.exe" CFLAG = /O2 /D "WIN32" /D "_MBCS" \ /W4 /Wp64 /TP /EHsc /Zi /G7 /c \ /I "D:\Program Files\Microsoft Visual C++ Toolkit 2003\include" \ /I "D:\Program Files\Microsoft Visual Studio\VC98\ATL\Include" \ /I "D:\Program Files\Microsoft Visual Studio\VC98\Include" \ /I "D:\Program Files\Microsoft Visual Studio\MFC\Include" \ /D "__VC__" #/D "_DEBUG" /D "_CONSOLE" /MLd LINK = "/cygdrive/d/Program Files/Microsoft Visual C++ Toolkit 2003/bin/link.exe" LFLAG = /LIBPATH:"D:\Program Files\Microsoft Visual C++ Toolkit 2003\lib" \ /LIBPATH:"D:\Program Files\Microsoft Visual Studio\VC98\Lib" \ /LIBPATH:"D:\Program Files\Microsoft Visual Studio\MFC\Lib" all : example.exe example.exe : example.obj ${LINK} ${LFLAG} /OUT:$@ $? kernel32.lib user32.lib gdi32.lib %.obj : %.cpp ${CXX} $< ${CFLAG} clean : rm -f *.exe rm -f *.obj