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