]> git.saurik.com Git - wxWidgets.git/blob - samples/mdi/makefile.dos
#ifdef'd out some parts for non-supported systems.
[wxWidgets.git] / samples / mdi / makefile.dos
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
14 WXDIR = $(WXWIN)
15
16 !include $(WXDIR)\src\makemsc.env
17
18 THISDIR = $(WXDIR)\samples\mdi
19 INC=/I$(WXDIR)\include
20
21 HEADERS = mdi.h
22 SOURCES = mdi.$(SRCSUFF)
23 OBJECTS = mdi.obj
24
25 all: mdi.exe
26
27 wx:
28 cd $(WXDIR)\src\msw
29 nmake -f makefile.dos
30 cd $(THISDIR)
31
32 wxclean:
33 cd $(WXDIR)\src\msw
34 nmake -f makefile.dos clean
35 cd $(THISDIR)
36
37
38 mdi.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) mdi.obj mdi.def mdi.res
39 link $(LINKFLAGS) @<<
40 $(WXDIR)\src\msw\dummy.obj mdi.obj,
41 mdi,
42 NUL,
43 $(LIBS),
44 mdi.def
45 ;
46 <<
47 rc -K mdi.res
48
49 mdi.obj: mdi.h mdi.$(SRCSUFF)
50 cl @<<
51 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
52 <<
53
54 mdi.res : mdi.rc $(WXDIR)\include\wx\msw\wx.rc
55 rc -r /i$(WXDIR)\include mdi
56
57 clean:
58 -erase *.obj
59 -erase *.exe
60 -erase *.res
61 -erase *.map
62 -erase *.sbr
63 -erase *.pdb