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