]> git.saurik.com Git - wxWidgets.git/blame - samples/mdi/makefile.dos
Various wxMotif changes including size optimisation and debugging operator fix.
[wxWidgets.git] / samples / mdi / makefile.dos
CommitLineData
c801d85f
KB
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 mdi 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\mdi
19INC=/I$(WXDIR)\include
20
21HEADERS = mdi.h
22SOURCES = mdi.$(SRCSUFF)
23OBJECTS = mdi.obj
24
25all: mdi.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
38mdi.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) mdi.obj mdi.def mdi.res
39 link $(LINKFLAGS) @<<
40$(WXDIR)\src\msw\dummy.obj mdi.obj,
41mdi,
42NUL,
43$(LIBS),
44mdi.def
45;
46<<
47 rc -K mdi.res
48
49mdi.obj: mdi.h mdi.$(SRCSUFF)
50 cl @<<
51$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
52<<
53
54mdi.res : mdi.rc $(WXDIR)\include\wx\msw\wx.rc
6b0eb19f 55 rc -r /i$(WXDIR)\include mdi
c801d85f
KB
56
57clean:
58 -erase *.obj
59 -erase *.exe
60 -erase *.res
61 -erase *.map
62 -erase *.sbr
63 -erase *.pdb