| 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 |
| 12 | WXDIR=$(WXWIN) |
| 13 | |
| 14 | !include $(WXDIR)\src\makeva.env |
| 15 | |
| 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 |
| 22 | |
| 23 | # |
| 24 | # Make sure output directory is available |
| 25 | # |
| 26 | !if [md $(OPATH)] |
| 27 | !endif |
| 28 | |
| 29 | # |
| 30 | # Standard definitions |
| 31 | # |
| 32 | PROGRC=$(THISDIR)\$(PROGRAM).rcO |
| 33 | OBJECTS=$(OPATH)\$(PROGRAM).obj |
| 34 | PROGRES=$(OPATH)\$(PROGRAM).res |
| 35 | PROGTARGET=E:\TEMP\$(PROGRAM).exe |
| 36 | |
| 37 | .cpp{$OPATH}.obj: |
| 38 | @echo $< |
| 39 | icc @<< |
| 40 | $(CPPFLAGS) /Fo$@ /Tp $< |
| 41 | << |
| 42 | |
| 43 | !include $(WXDIR)\src\makeprog.va |
| 44 | |