small makefile.vc fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,6 +24,8 @@ default: $(TARGETDIR)\$(TARGET).pyd pycfiles
|
|||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
$(GENCODEDIR)/glcanvas.cpp : glcanvas.i
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
$(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res
|
$(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res
|
||||||
|
@@ -20,6 +20,9 @@ default: $(TARGETDIR)\$(TARGET).pyd pycfiles
|
|||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
# for generating the html.cpp file
|
||||||
|
$(GENCODEDIR)/html.cpp : html.i
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
$(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res
|
$(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res
|
||||||
|
42
utils/wxPython/modules/lseditor/makefile.vc
Normal file
42
utils/wxPython/modules/lseditor/makefile.vc
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
TARGET = lseditorc
|
||||||
|
|
||||||
|
OBJECTS = lseditor.obj finddlg.obj lseditorpl.obj markup.obj \
|
||||||
|
plugin.obj sourcepainter.obj tdefs.objhtml.obj
|
||||||
|
|
||||||
|
PYMODULES = $(TARGETDIR)\lseditor.py
|
||||||
|
|
||||||
|
SOURCES = $(GENCODEDIR)/lseditor.cpp finddlg.cpp lseditorpl.cpp markup.cpp \
|
||||||
|
plugin.cpp sourcepainter.cpp tdefs.cpp
|
||||||
|
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
!include ..\makeinc.vc
|
||||||
|
# undo overrideflags /GX- ...
|
||||||
|
OVERRIDEFLAGS=$(OTHERCFLAGS)
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
default: $(TARGETDIR)\$(TARGET).pyd pycfiles
|
||||||
|
|
||||||
|
all: $(TARGET)
|
||||||
|
|
||||||
|
# for generating the html.cpp file
|
||||||
|
$(GENCODEDIR)/lseditor.cpp : lseditor.i
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
$(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res
|
||||||
|
$(link) @<<
|
||||||
|
/out:$@ /dll
|
||||||
|
$(LFLAGS) /def:$(TARGET).def /implib:./$(TARGET).lib
|
||||||
|
$(DUMMYOBJ) $(OBJECTS)
|
||||||
|
$(LIBS)
|
||||||
|
<<
|
||||||
|
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
@@ -5,7 +5,7 @@ TARGET = samplec
|
|||||||
|
|
||||||
OBJECTS = sample.obj mywidget.obj
|
OBJECTS = sample.obj mywidget.obj
|
||||||
|
|
||||||
PYMODULES = $(TARGETDIR)\sample.py $(TARGETDIR)\sample.py
|
PYMODULES = $(TARGETDIR)\sample.py
|
||||||
|
|
||||||
SOURCES = $(GENCODEDIR)\sample.cpp mywidget.cpp
|
SOURCES = $(GENCODEDIR)\sample.cpp mywidget.cpp
|
||||||
|
|
||||||
@@ -20,6 +20,9 @@ default: $(TARGETDIR)\$(TARGET).pyd pycfiles
|
|||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
# dependency to automatically generate swig files
|
||||||
|
$(GENCODEDIR)/sample.cpp : sample.i
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
$(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res
|
$(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res
|
||||||
|
Reference in New Issue
Block a user