]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/stubs/makefile.vc
started adding swigged sources
[wxWidgets.git] / utils / wxPython / modules / stubs / makefile.vc
1
2 #----------------------------------------------------------------------
3
4 TARGET = samplec
5
6 OBJECTS = sample.obj mywidget.obj
7
8 PYMODULES = $(TARGETDIR)\sample.py
9
10 SOURCES = $(GENCODEDIR)\sample.cpp mywidget.cpp
11
12
13 #----------------------------------------------------------------------
14
15 !include ..\makeinc.vc
16
17 #----------------------------------------------------------------------
18
19 default: $(TARGETDIR)\$(TARGET).pyd pycfiles
20
21 all: $(TARGET)
22
23 # dependency to automatically generate swig files
24 $(GENCODEDIR)/sample.cpp : sample.i
25
26 #----------------------------------------------------------------------
27
28 $(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res
29 $(link) @<<
30 /out:$@ /dll
31 $(LFLAGS) /def:$(TARGET).def /implib:./$(TARGET).lib
32 $(DUMMYOBJ) $(OBJECTS)
33 $(LIBS)
34 <<
35
36
37 #----------------------------------------------------------------------
38