2 # Makefile for Windows and MS VIsual C++
4 # Currently just setup for the debug version, you'll need a debug
5 # version of Python (*_d.*) and wxPython to run this.
9 PYTHONDIR = c:\tools\Python23
12 INCLUDES = -I$(WXDIR)\lib\vc_dll\mswd -I$(WXDIR)\include -I$(WXDIR)\wxPython\include -I$(PYTHONDIR)\include -I$(PYTHONDIR)\PC
13 CXXFLAGS = /c /nologo /Od /MDd /W3 /GX /Z7 /D_DEBUG -DWIN32 -D_WINDOWS -D__WXMSW__ -DWXUSINGDLL=1 -DWXP_USE_THREAD=1 -UNDEBUG -D__WXDEBUG__ /Gy
14 LIBFLAGS = /nologo /pdb:None /DEBUG /LIBPATH:$(WXDIR)\lib\vc_dll /LIBPATH:$(PYTHONDIR)\libs
15 LIBS = wxbase$(VER).lib wxmsw$(VER)_core.lib \
16 kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib \
17 shell32.lib oldnames.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib \
18 uuid.lib rpcrt4.lib advapi32.lib wsock32.lib
26 embedded.obj : embedded.cpp
27 cl $(INCLUDES) $(CXXFLAGS) /Fo$@ embedded.cpp
29 embedded.exe : embedded.obj
30 link $(LIBFLAGS) embedded.obj $(LIBS) /OUT:$@