]> git.saurik.com Git - wxWidgets.git/blob - utils/nplugin/src/makefile.vc
fix for bug in wxEditableListBox in connection with new wxListCtrl
[wxWidgets.git] / utils / nplugin / src / makefile.vc
1 #
2 # File: makefile.vc
3 # Author: Julian Smart
4 # Created: 1993
5 # Updated:
6 # Copyright: (c) 1993, AIAI, University of Edinburgh
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds controls example (MS VC++).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
12 # info
13
14 # Set WXDIR for your system
15 WXDIR = $(WXWIN)
16
17 # Application is a DLL
18 DLL=1
19
20 !include $(WXDIR)\src\makevc.env
21
22 PLUGINDIR = $(WXDIR)\utils\nplugin
23 THISDIR = $(PLUGINDIR)\src
24 LIBTARGET=$(PLUGINDIR)\lib\nplugin.lib
25
26 OBJECTS = npwin.obj npshell.obj NPFrame.obj NPApp.obj
27
28 all: $(LIBTARGET)
29
30 wx:
31 cd $(WXDIR)\src\msw
32 nmake -f makefile.vc FINAL=$(FINAL)
33 cd $(THISDIR)
34
35 wxclean:
36 cd $(WXDIR)\src\msw
37 nmake -f makefile.vc clean
38 cd $(THISDIR)
39
40 $(LIBTARGET): $(OBJECTS)
41 -erase $(LIBTARGET)
42 $(implib) @<<
43 -out:$(LIBTARGET)
44 -machine:$(CPU)
45 $(OBJECTS)
46 <<
47
48 npwin.obj: npwin.cpp npapi.h npupp.h
49 $(cc) @<<
50 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
51 <<
52
53 npshell.obj: npshell.cpp npapi.h NPApp.h NPFrame.h
54 $(cc) @<<
55 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
56 <<
57
58 NPFrame.obj: NPFrame.cpp NPFrame.h NPApp.h npapi.h
59 $(cc) @<<
60 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
61 <<
62
63 NPApp.obj: NPApp.cpp NPApp.h NPFrame.h npapi.h
64 $(cc) @<<
65 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
66 <<
67
68 clean:
69 -erase *.obj
70 -erase *.exe
71 -erase *.res
72 -erase *.map
73 -erase *.sbr
74 -erase *.pdb
75 -erase *.dll
76 -erase *.exp
77 -erase *.ilk
78 -erase $(LIBTARGET)