+!if "$(UNICODE)" == "1"
+__UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
+!endif
+!if "$(UNICODE)" == "1"
+__UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=1
+!endif
+!if "$(MSLU)" == "1"
+__UNICOWS_LIB_p = unicows.lib
+!endif
+!if "$(MONOLITHIC)" == "0"
+__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
+!endif
+!if "$(MONOLITHIC)" == "0"
+__WXLIB_CORE_p = \
+ wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
+!endif
+!if "$(MONOLITHIC)" == "1"
+__WXLIB_MONO_p = \
+ wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
+!endif
+!if "$(WXUNIV)" == "1"
+__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
+!endif
+!if "$(WXUNIV)" == "1"
+__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
+!endif
+!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
+____DEBUGINFO_2_p = /D_DEBUG
+!endif
+!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
+____DEBUGINFO_2_p =
+!endif
+!if "$(DEBUG_INFO)" == "0"
+____DEBUGINFO_2_p =
+!endif
+!if "$(DEBUG_INFO)" == "1"
+____DEBUGINFO_2_p = /D_DEBUG
+!endif
+!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
+____DEBUGINFO_2_p_1 = /d _DEBUG
+!endif
+!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
+____DEBUGINFO_2_p_1 =
+!endif
+!if "$(DEBUG_INFO)" == "0"
+____DEBUGINFO_2_p_1 =
+!endif
+!if "$(DEBUG_INFO)" == "1"
+____DEBUGINFO_2_p_1 = /d _DEBUG
+!endif
+!if "$(DEBUG_RUNTIME_LIBS)" == "0"
+____DEBUGRUNTIME_2_p =
+!endif
+!if "$(DEBUG_RUNTIME_LIBS)" == "1"
+____DEBUGRUNTIME_2_p = /D_DEBUG
+!endif
+!if "$(DEBUG_RUNTIME_LIBS)" == "default"
+____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
+!endif
+!if "$(DEBUG_RUNTIME_LIBS)" == "0"
+____DEBUGRUNTIME_2_p_1 =
+!endif
+!if "$(DEBUG_RUNTIME_LIBS)" == "1"
+____DEBUGRUNTIME_2_p_1 = /d _DEBUG
+!endif
+!if "$(DEBUG_RUNTIME_LIBS)" == "default"
+____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
+!endif
+
+
+all: $(OBJS)
+$(OBJS):
+ -if not exist $(OBJS) mkdir $(OBJS)
+
+### Targets: ###
+
+all: $(OBJS)\ogledit.exe data
+
+$(OBJS)\ogledit_cspalette.obj: .\cspalette.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(OGLEDIT_CXXFLAGS) $**
+
+$(OBJS)\ogledit_csprint.obj: .\csprint.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(OGLEDIT_CXXFLAGS) $**
+
+$(OBJS)\ogledit_dialogs.obj: .\dialogs.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(OGLEDIT_CXXFLAGS) $**
+
+$(OBJS)\ogledit_doc.obj: .\doc.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(OGLEDIT_CXXFLAGS) $**
+
+$(OBJS)\ogledit_mainfrm.obj: .\mainfrm.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(OGLEDIT_CXXFLAGS) $**
+
+$(OBJS)\ogledit_project.obj: .\project.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(OGLEDIT_CXXFLAGS) $**
+
+$(OBJS)\ogledit_shapes.obj: .\shapes.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(OGLEDIT_CXXFLAGS) $**
+
+$(OBJS)\ogledit_studio.obj: .\studio.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(OGLEDIT_CXXFLAGS) $**
+
+$(OBJS)\ogledit_studio.res: .\studio.rc
+ rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\..\..\include /i $(LIBDIRNAME) /i .\..\..\..\..\src\tiff /i .\..\..\..\..\src\jpeg /i .\..\..\..\..\src\png /i .\..\..\..\..\src\zlib /i .\..\..\..\..\src\regex /i .\..\..\..\..\src\expat\lib /i . $(__DLLFLAG_p_1) /d _WINDOWS /i ..\..\..\..\samples /i .\..\..\..\include $**
+
+$(OBJS)\ogledit_symbols.obj: .\symbols.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(OGLEDIT_CXXFLAGS) $**
+
+$(OBJS)\ogledit_view.obj: .\view.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(OGLEDIT_CXXFLAGS) $**