]> git.saurik.com Git - wxWidgets.git/blame - utils/nplugin/src/makefile.vc
no real changes
[wxWidgets.git] / utils / nplugin / src / makefile.vc
CommitLineData
bbf1f0e5 1#
48d1144b 2# File: makefile.vc
bbf1f0e5
KB
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
15WXDIR = $(WXWIN)
16
17# Application is a DLL
18DLL=1
19
48d1144b 20!include $(WXDIR)\src\makevc.env
bbf1f0e5
KB
21
22PLUGINDIR = $(WXDIR)\utils\nplugin
23THISDIR = $(PLUGINDIR)\src
24LIBTARGET=$(PLUGINDIR)\lib\nplugin.lib
25
26OBJECTS = npwin.obj npshell.obj NPFrame.obj NPApp.obj
27
28all: $(LIBTARGET)
29
30wx:
31 cd $(WXDIR)\src\msw
48d1144b 32 nmake -f makefile.vc FINAL=$(FINAL)
bbf1f0e5
KB
33 cd $(THISDIR)
34
35wxclean:
36 cd $(WXDIR)\src\msw
48d1144b 37 nmake -f makefile.vc clean
bbf1f0e5
KB
38 cd $(THISDIR)
39
40$(LIBTARGET): $(OBJECTS)
41 -erase $(LIBTARGET)
42 $(implib) @<<
43-out:$(LIBTARGET)
44-machine:$(CPU)
45$(OBJECTS)
46<<
47
48npwin.obj: npwin.cpp npapi.h npupp.h
49 $(cc) @<<
50$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
51<<
52
53npshell.obj: npshell.cpp npapi.h NPApp.h NPFrame.h
54 $(cc) @<<
55$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
56<<
57
58NPFrame.obj: NPFrame.cpp NPFrame.h NPApp.h npapi.h
59 $(cc) @<<
60$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
61<<
62
63NPApp.obj: NPApp.cpp NPApp.h NPFrame.h npapi.h
64 $(cc) @<<
65$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
66<<
67
68clean:
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)