]>
Commit | Line | Data |
---|---|---|
1ff121bd JS |
1 | # |
2 | # File: makefile.nt | |
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 samples for Win95, MSVC++ 4.0 | |
11 | # Use FINAL=1 argument to nmake to build final version with no debugging | |
12 | # info | |
13 | ||
14 | # Set WXDIR for your system | |
15 | WXDIR = $(WXWIN) | |
16 | ||
17 | THISDIR=$(WXDIR)\samples | |
18 | ||
19 | !include $(WXDIR)\src\ntwxwin.mak | |
20 | ||
21 | DEBUG_FLAGS="/Zi /FR" | |
22 | LINK_DEBUG_FLAGS="/RELEASE" | |
23 | ||
24 | all: | |
25 | cd $(WXDIR)\samples\splitter | |
26 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
27 | cd $(WXDIR)\samples\resource | |
28 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
1ff121bd JS |
29 | cd $(WXDIR)\samples\controls |
30 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
31 | cd $(WXDIR)\samples\listctrl | |
32 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
33 | cd $(WXDIR)\samples\treectrl | |
34 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
35 | cd $(WXDIR)\samples\validate | |
36 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
37 | cd $(WXDIR)\samples\mdi | |
38 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
39 | cd $(WXDIR)\samples\minimal | |
40 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
41 | cd $(WXDIR)\samples\layout | |
42 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
43 | cd $(WXDIR)\samples\printing | |
44 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
14d1ccd8 | 45 | cd $(WXDIR)\samples\toolbar |
1ff121bd JS |
46 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
47 | cd $(WXDIR)\samples\dialogs | |
48 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
49 | cd $(WXDIR)\samples\docview | |
50 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
27529614 JS |
51 | cd $(WXDIR)\samples\docvwmdi |
52 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
1ff121bd JS |
53 | cd $(WXDIR)\samples\controls |
54 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
55 | cd $(WXDIR)\samples\nativdlg | |
56 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
57 | cd $(WXDIR)\samples\grid | |
58 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
59 | cd $(WXDIR)\samples\internat | |
60 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
1ff121bd JS |
61 | cd $(WXDIR)\samples\dnd |
62 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
63 | cd $(WXDIR)\samples\joytest | |
64 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
1ff121bd JS |
65 | cd $(WXDIR)\samples\taskbar |
66 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
27529614 | 67 | cd $(WXDIR)\samples\sashtest |
1ff121bd | 68 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
27529614 | 69 | cd $(WXDIR)\samples\memcheck |
e8c81745 JS |
70 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
71 | cd $(WXDIR)\samples\ownerdrw | |
72 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
73 | cd $(WXDIR)\samples\checklst | |
74 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
c030b70f JS |
75 | cd $(WXDIR)\samples\minifram |
76 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
e3a43801 JS |
77 | cd $(WXDIR)\samples\bombs |
78 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
79 | cd $(WXDIR)\samples\fractal | |
80 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
81 | cd $(WXDIR)\samples\wxpoem | |
82 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
83 | cd $(WXDIR)\samples\types | |
84 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
85 | cd $(WXDIR)\samples\proplist | |
86 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
27529614 JS |
87 | # cd $(WXDIR)\samples\regtest |
88 | # nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) | |
1ff121bd JS |
89 | |
90 | clean: | |
91 | cd $(WXDIR)\samples\splitter | |
92 | nmake -f makefile.nt clean | |
93 | cd $(WXDIR)\samples\mdi | |
94 | nmake -f makefile.nt clean | |
95 | cd $(WXDIR)\samples\minimal | |
96 | nmake -f makefile.nt clean | |
97 | cd $(WXDIR)\samples\layout | |
98 | nmake -f makefile.nt clean | |
99 | cd $(WXDIR)\samples\printing | |
100 | nmake -f makefile.nt clean | |
14d1ccd8 | 101 | cd $(WXDIR)\samples\toolbar |
1ff121bd JS |
102 | nmake -f makefile.nt clean |
103 | cd $(WXDIR)\samples\dialogs | |
104 | nmake -f makefile.nt clean | |
105 | cd $(WXDIR)\samples\resource | |
106 | nmake -f makefile.nt clean | |
107 | cd $(WXDIR)\samples\listctrl | |
108 | nmake -f makefile.nt clean | |
109 | cd $(WXDIR)\samples\treectrl | |
110 | nmake -f makefile.nt clean | |
111 | cd $(WXDIR)\samples\validate | |
112 | nmake -f makefile.nt clean | |
1ff121bd JS |
113 | cd $(WXDIR)\samples\docview |
114 | nmake -f makefile.nt clean | |
27529614 JS |
115 | cd $(WXDIR)\samples\docvwmdi |
116 | nmake -f makefile.nt clean | |
1ff121bd JS |
117 | cd $(WXDIR)\samples\controls |
118 | nmake -f makefile.nt clean | |
119 | cd $(WXDIR)\samples\nativdlg | |
120 | nmake -f makefile.nt clean | |
121 | cd $(WXDIR)\samples\grid | |
122 | nmake -f makefile.nt clean | |
123 | cd $(WXDIR)\samples\internat | |
124 | nmake -f makefile.nt clean | |
125 | cd $(WXDIR)\samples\checklst | |
126 | nmake -f makefile.nt clean | |
127 | cd $(WXDIR)\samples\ownerdrw | |
128 | nmake -f makefile.nt clean | |
129 | cd $(WXDIR)\samples\dnd | |
130 | nmake -f makefile.nt clean | |
131 | cd $(WXDIR)\samples\joytest | |
132 | nmake -f makefile.nt clean | |
133 | cd $(WXDIR)\samples\regtest | |
134 | nmake -f makefile.nt clean | |
135 | cd $(WXDIR)\samples\taskbar | |
136 | nmake -f makefile.nt clean | |
27529614 JS |
137 | cd $(WXDIR)\samples\sashtest |
138 | nmake -f makefile.nt clean | |
1ff121bd JS |
139 | cd $(WXDIR)\samples\memcheck |
140 | nmake -f makefile.nt clean | |
c030b70f JS |
141 | cd $(WXDIR)\samples\minifram |
142 | nmake -f makefile.nt clean | |
e3a43801 JS |
143 | cd $(WXDIR)\samples\bombs |
144 | nmake -f makefile.nt clean | |
145 | cd $(WXDIR)\samples\fractal | |
146 | nmake -f makefile.nt clean | |
147 | cd $(WXDIR)\samples\wxpoem | |
148 | nmake -f makefile.nt clean | |
149 | cd $(WXDIR)\samples\types | |
150 | nmake -f makefile.nt clean | |
151 | cd $(WXDIR)\samples\proplist | |
152 | nmake -f makefile.nt clean | |
1ff121bd | 153 |