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:
Harco de Hilster
1999-08-17 15:14:08 +00:00
parent 7ac080a1c7
commit 4540b0b60f
4 changed files with 51 additions and 1 deletions

View File

@@ -24,6 +24,8 @@ default: $(TARGETDIR)\$(TARGET).pyd pycfiles
all: $(TARGET)
$(GENCODEDIR)/glcanvas.cpp : glcanvas.i
#----------------------------------------------------------------------
$(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res

View File

@@ -20,6 +20,9 @@ default: $(TARGETDIR)\$(TARGET).pyd pycfiles
all: $(TARGET)
# for generating the html.cpp file
$(GENCODEDIR)/html.cpp : html.i
#----------------------------------------------------------------------
$(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res

View 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)
<<
#----------------------------------------------------------------------

View File

@@ -5,7 +5,7 @@ TARGET = samplec
OBJECTS = sample.obj mywidget.obj
PYMODULES = $(TARGETDIR)\sample.py $(TARGETDIR)\sample.py
PYMODULES = $(TARGETDIR)\sample.py
SOURCES = $(GENCODEDIR)\sample.cpp mywidget.cpp
@@ -20,6 +20,9 @@ default: $(TARGETDIR)\$(TARGET).pyd pycfiles
all: $(TARGET)
# dependency to automatically generate swig files
$(GENCODEDIR)/sample.cpp : sample.i
#----------------------------------------------------------------------
$(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res