]>
Commit | Line | Data |
---|---|---|
a2426843 RD |
1 | # |
2 | # Makefile for Windows and MS VIsual C++ | |
3 | # | |
2620b36e RD |
4 | # Currently just setup for the debug version, you'll need a debug |
5 | # version of Python (*_d.*) and wxPython to run this. | |
6 | ||
a2426843 RD |
7 | |
8 | WXDIR = $(WXWIN) | |
9ca5a18a RD |
9 | PYTHONDIR = c:\tools\Python24 |
10 | VER = 26d | |
2620b36e RD |
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 | |
9ca5a18a RD |
14 | LIBFLAGS = /nologo /DEBUG /LIBPATH:$(WXDIR)\lib\vc_dll /LIBPATH:$(PYTHONDIR)\libs |
15 | LIBS = wxmsw$(VER).lib \ | |
2620b36e RD |
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 | |
a2426843 | 25 | |
2620b36e RD |
26 | embedded.obj : embedded.cpp |
27 | cl $(INCLUDES) $(CXXFLAGS) /Fo$@ embedded.cpp | |
a2426843 | 28 | |
2620b36e RD |
29 | embedded.exe : embedded.obj |
30 | link $(LIBFLAGS) embedded.obj $(LIBS) /OUT:$@ |