4a61305d36
from wxWindow to be loaded from a C++ .dll (or .so) and be used in a wxPython program, without the widget having to be SWIGged first. Various updates for distribs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
33 lines
459 B
Plaintext
33 lines
459 B
Plaintext
|
|
WXDIR = $(WXWIN)
|
|
WXUSINGDLL = 1
|
|
|
|
PROGRAM = test_dll
|
|
OBJECTS = test_dll.obj
|
|
|
|
!include $(WXDIR)\src\makevc.env
|
|
|
|
|
|
$(PROGRAM).dll : $(OBJECTS)
|
|
$(link) @<<
|
|
-out:$(PROGRAM).dll
|
|
-dll $(LINK_DEBUG_FLAGS) $(WINLINKFLAGS)
|
|
$(OBJECTS)
|
|
$(WXLIB)
|
|
<<
|
|
|
|
|
|
clean:
|
|
del $(OBJECTS)
|
|
del $(PROGRAM).dll
|
|
del $(PROGRAM).exp
|
|
del $(PROGRAM).lib
|
|
del $(PROGRAM).pdb
|
|
|
|
test:
|
|
@echo -out:$(PROGRAM).dll
|
|
@echo -dll $(LINK_DEBUG_FLAGS) $(WINLINKFLAGS)
|
|
@echo $(OBJECTS)
|
|
@echo $(WXLIB)
|
|
|