]> git.saurik.com Git - wxWidgets.git/blame - samples/docview/makefile.dos
More-or-less finished reasonably cool wxToolBar class with tooltips.
[wxWidgets.git] / samples / docview / makefile.dos
CommitLineData
457814b5
JS
1#
2# File: makefile.dos
3# Author: Julian Smart
4# Created: 1995
5# Updated:
6# Copyright: (c) 1995, AIAI, University of Edinburgh
7#
8# "%W% %G%"
9#
10# Makefile : Builds docview example (DOS).
11# Use FINAL=1 argument to nmake to build final version with no debugging
12# info
13
14WXDIR = $(WXWIN)
15
16!include $(WXDIR)\src\makemsc.env
17
18THISDIR = $(WXDIR)\samples\docview
19INC=/I$(WXDIR)\include
20
21HEADERS = docview.h
22SOURCES = docview.$(SRCSUFF)
23OBJECTS = docview.obj doc.obj view.obj
24
25all: docview.exe
26
27wx:
28 cd $(WXDIR)\src\msw
29 nmake -f makefile.dos
30 cd $(THISDIR)
31
32wxclean:
33 cd $(WXDIR)\src\msw
34 nmake -f makefile.dos clean
35 cd $(THISDIR)
36
37
38docview.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(OBJECTS) docview.def docview.res
39 link $(LINKFLAGS) @<<
40$(WXDIR)\src\msw\dummy.obj $(OBJECTS),
41docview,
42NUL,
43$(LIBS),
44docview.def
45;
46<<
47 rc -30 -K docview.res
48
49docview.obj: docview.h docview.$(SRCSUFF)
50 cl @<<
51$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
52<<
53
54view.obj: view.h view.$(SRCSUFF)
55 cl @<<
56$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
57<<
58
59doc.obj: doc.h doc.$(SRCSUFF)
60 cl @<<
61$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
62<<
63
64docview.res : docview.rc $(WXDIR)\include\wx\msw\wx.rc
65 rc -r /dFAFA_LIB /i$(WXDIR)\include docview
66
67clean:
68 -erase *.obj
69 -erase *.exe
70 -erase *.res
71 -erase *.map
72 -erase *.sbr
73 -erase *.pdb
74