10 # Makefile : Builds controls example (MS VC++).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
14 # Set WXDIR for your system
17 # Application is a DLL
20 !include $(WXDIR)\src\makevc.env
22 PLUGINDIR = $(WXDIR)\utils\nplugin
23 THISDIR = $(PLUGINDIR)\src
24 LIBTARGET=$(PLUGINDIR)\lib\nplugin.lib
26 OBJECTS = npwin.obj npshell.obj NPFrame.obj NPApp.obj
32 nmake -f makefile.vc FINAL=$(FINAL)
37 nmake -f makefile.vc clean
40 $(LIBTARGET): $(OBJECTS)
48 npwin.obj: npwin.cpp npapi.h npupp.h
50 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
53 npshell.obj: npshell.cpp npapi.h NPApp.h NPFrame.h
55 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
58 NPFrame.obj: NPFrame.cpp NPFrame.h NPApp.h npapi.h
60 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
63 NPApp.obj: NPApp.cpp NPApp.h NPFrame.h npapi.h
65 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)