]> git.saurik.com Git - wxWidgets.git/blob - wxPython/samples/embedded/makefile.vc
Replaced wx/lib/pubsub.py with a version that uses weak references to
[wxWidgets.git] / wxPython / samples / embedded / makefile.vc
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
8 WXDIR = $(WXWIN)
9 PYTHONDIR = c:\tools\Python23
10 VER = 25d
11
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
19
20
21 all : embedded.exe
22 clean :
23 del *.obj
24 del *.exe
25
26 embedded.obj : embedded.cpp
27 cl $(INCLUDES) $(CXXFLAGS) /Fo$@ embedded.cpp
28
29 embedded.exe : embedded.obj
30 link $(LIBFLAGS) embedded.obj $(LIBS) /OUT:$@