]> git.saurik.com Git - wxWidgets.git/blame - samples/controls/makefile.dos
corrected (?) wxStringList::Delete()
[wxWidgets.git] / samples / controls / makefile.dos
CommitLineData
1c005ff7
RR
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#
447daba1 10# Makefile : Builds controls example (DOS).
1c005ff7
RR
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
447daba1 18THISDIR = $(WXDIR)\samples\controls
1c005ff7
RR
19
20!ifndef FINAL
21FINAL=0
22!endif
23
24HEADERS =
447daba1
JS
25SOURCES = controls.$(SRCSUFF)
26OBJECTS = controls.obj
1c005ff7 27
447daba1 28all: controls.exe
1c005ff7
RR
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
447daba1 40controls.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) controls.obj controls.def controls.res
1c005ff7 41 link $(LINKFLAGS) @<<
447daba1
JS
42controls.obj $(WXDIR)\src\msw\dummy.obj,
43controls,
1c005ff7
RR
44NUL,
45$(LIBS),
447daba1 46controls.def
1c005ff7
RR
47;
48<<
447daba1 49 rc -K controls.res
1c005ff7 50
447daba1 51controls.obj: controls.$(SRCSUFF)
1c005ff7
RR
52 cl @<<
53$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
54<<
55
447daba1
JS
56controls.res : controls.rc $(WXDIR)\include\wx\msw\wx.rc
57 rc -r /i$(WXDIR)\include controls
1c005ff7
RR
58
59clean:
60 -erase *.obj
61 -erase *.exe
62 -erase *.res
63 -erase *.map
64 -erase *.sbr
65 -erase *.pdb