BUILD_DIR = build_VC7 CXX = "/cygdrive/d/Program Files/Microsoft Visual C++ Toolkit 2003/bin/cl.exe" CFLAGS = /O2 /D "WIN32" /D "_CONSOLE" /D "_MBCS" /MLd /EHsc /Zi /G7 #/W4 /Wp64 INCLUDES = /I "..\..\..\..\common" \ /I "..\..\..\..\navigation" \ /I "..\..\..\..\sim" \ /I "C:\Program Files\Microsoft Platform SDK\include" \ /I "D:\Program Files\Microsoft Visual C++ Toolkit 2003\include" all : $(BUILD_DIR) : mkdir $(BUILD_DIR) %.exe : %.cpp $(BUILD_DIR) cd $(BUILD_DIR); \ ${CXX} ${INCLUDES} ${CFLAGS} -o $@ ../$< ${LDFLAGS}; \ # ./$@ %.exe : %.c $(BUILD_DIR) cd $(BUILD_DIR); \ ${CXX} ${INCLUDES} ${CFLAGS} -o $@ ../$< ${LDFLAGS}; \ # ./$@ clean : rm -f $(BUILD_DIR)/* .PHONY : clean all