]> git.saurik.com Git - wxWidgets.git/blame - samples/checklst/makefile.dos
More-or-less finished reasonably cool wxToolBar class with tooltips.
[wxWidgets.git] / samples / checklst / makefile.dos
CommitLineData
457814b5
JS
1#
2# File: makefile.dos
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 checklst 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\checklst
19
20!ifndef FINAL
21FINAL=0
22!endif
23
24HEADERS =
25SOURCES = checklst.$(SRCSUFF)
26OBJECTS = checklst.obj
27
28all: checklst.exe
29
30wx:
31 cd $(WXDIR)\src\msw
32 nmake -f makefile.dos FINAL=$(FINAL)
33 cd $(THISDIR)
34
35wxclean:
36 cd $(WXDIR)\src\msw
37 nmake -f makefile.dos clean
38 cd $(THISDIR)
39
40checklst.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) checklst.obj checklst.def checklst.res
41 link $(LINKFLAGS) @<<
42checklst.obj $(WXDIR)\src\msw\dummy.obj,
43checklst,
44NUL,
45$(LIBS),
46checklst.def
47;
48<<
49 rc -K checklst.res
50
51checklst.obj: checklst.$(SRCSUFF)
52 cl @<<
53$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
54<<
55
56checklst.res : checklst.rc $(WXDIR)\include\wx\msw\wx.rc
57 rc -r /i$(WXDIR)\include checklst
58
59clean:
60 -erase *.obj
61 -erase *.exe
62 -erase *.res
63 -erase *.map
64 -erase *.sbr
65 -erase *.pdb