]>
Commit | Line | Data |
---|---|---|
f1d626b2 DW |
1 | # |
2 | # File: makefile.va | |
3 | # Author: David Webster | |
4 | # Created: 1999 | |
5 | # Updated: | |
6 | # Copyright: (c) David Webster | |
7 | # | |
8 | # Makefile : Builds sample (VisualAgeC++ V3.0, OS/2 PM) | |
9 | # Use FINAL=1 argument to nmake to build final version with no debug info. | |
10 | ||
11 | # Set WXDIR for your system | |
98de692c | 12 | WXDIR=$(WXWIN) |
2912e35f DW |
13 | |
14 | !include $(WXDIR)\src\makeva.env | |
15 | ||
98de692c DW |
16 | # |
17 | # Define which program this is and what it's path is and where to output to | |
18 | # | |
19 | PROGRAM=minimal | |
20 | THISDIR=$(WXWIN)\samples\$(PROGRAM) | |
21 | OPATH=$(THISDIR)\$D | |
f1d626b2 | 22 | |
98de692c DW |
23 | # |
24 | # Make sure output directory is available | |
25 | # | |
26 | !if [md $(OPATH)] | |
2912e35f DW |
27 | !endif |
28 | ||
98de692c DW |
29 | # |
30 | # Standard definitions | |
31 | # | |
32 | PROGRC=$(THISDIR)\$(PROGRAM).rcO | |
33 | OBJECTS=$(OPATH)\$(PROGRAM).obj | |
34 | PROGRES=$(OPATH)\$(PROGRAM).res | |
f0b47621 | 35 | PROGTARGET=E:\TEMP\$(PROGRAM).exe |
98de692c DW |
36 | |
37 | .cpp{$OPATH}.obj: | |
38 | @echo $< | |
39 | icc @<< | |
40 | $(CPPFLAGS) /Fo$@ /Tp $< | |
41 | << | |
42 | ||
f1d626b2 DW |
43 | !include $(WXDIR)\src\makeprog.va |
44 |