]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/samples/embedded/makefile.vc
Implemented Enable for wxMenuBar to avoid assert
[wxWidgets.git] / wxPython / samples / embedded / makefile.vc
... / ...
CommitLineData
1#
2# Makefile for Windows and MS VIsual C++
3#
4# Currently just setup for the debug version, you'll need a debug
5# version of Python (*_d.*) and wxPython to run this.
6
7
8WXDIR = $(WXWIN)
9PYTHONDIR = c:\tools\Python23
10VER = 25d
11
12INCLUDES = -I$(WXDIR)\lib\vc_dll\mswd -I$(WXDIR)\include -I$(WXDIR)\wxPython\include -I$(PYTHONDIR)\include -I$(PYTHONDIR)\PC
13CXXFLAGS = /c /nologo /Od /MDd /W3 /GX /Z7 /D_DEBUG -DWIN32 -D_WINDOWS -D__WXMSW__ -DWXUSINGDLL=1 -DWXP_USE_THREAD=1 -UNDEBUG -D__WXDEBUG__ /Gy
14LIBFLAGS = /nologo /pdb:None /DEBUG /LIBPATH:$(WXDIR)\lib\vc_dll /LIBPATH:$(PYTHONDIR)\libs
15LIBS = 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
19
20
21all : embedded.exe
22clean :
23 del *.obj
24 del *.exe
25
26embedded.obj : embedded.cpp
27 cl $(INCLUDES) $(CXXFLAGS) /Fo$@ embedded.cpp
28
29embedded.exe : embedded.obj
30 link $(LIBFLAGS) embedded.obj $(LIBS) /OUT:$@