]> git.saurik.com Git - wxWidgets.git/blame - src/makeprog.va
[wxGTK2] Move wxFontRefData::SetStyle/SetWeight to wxNativeFontInfo
[wxWidgets.git] / src / makeprog.va
CommitLineData
bed4d331
DW
1#
2# File: makeprog.va
3# Author: David Webster
4# Created: 1999
5# Updated:
6# Copyright: (c) David Webster
7#
8# Makefile environment for building samples. Include this from
9# your own makefile.
10# Use FINAL=1 argument to nmake to build final version with no debugging
11# info
12
98de692c
DW
13#
14# Define inference rules for compiling C++ files.
15#
16{$(THISDIR)}.cpp{$(OPATH)}.obj:
17 @echo $<
18 icc @<<
19 $(CPPFLAGS) /Fo$@ /Tp $<
20 $(THISDIR)\$(@B).cpp
21<<
22
23all: $(PROGTARGET)
bed4d331
DW
24
25wx:
26 cd $(WXDIR)\src\os2
27 nmake -f makefile.va FINAL=$(FINAL)
98de692c 28 cd $(THISDIR)
bed4d331
DW
29
30wxclean:
31 cd $(WXDIR)\src\os2
32 nmake -f makefile.va clean
98de692c 33 cd $(THISDIR)
bed4d331 34
98de692c
DW
35$(PROGRAM).obj:: $(OPATH)\$(PROGRAM).obj
36$(OPATH)\$(PROGRAM).obj: $(THISDIR)\$(PROGRAM).cpp
37
38$(PROGRAM).res:: $(PROGRES)
39$(PROGRES):
1c54466d 40 $(RC) -I $(WXDIR)\include\wx\os2 -D __VISAGECPP__ -r $(PROGRC) $(PROGRES)
98de692c
DW
41
42$(PROGRAM).exe:: $(PROGTARGET)
43$(PROGTARGET): $(OBJECTS) $(PROGRES) $(DUMMYOBJ) $(WXLIB)
bed4d331
DW
44 @echo " Link::Linker "
45 $(LINK) @<<
46 /B" $(LINKFLAGS)" /Fe$@
47 $(LINKLIBS)
48 $(OBJECTS)
49 $(LIBS)
50<<
98de692c 51 $(RC) $(PROGRES) $(PROGTARGET)
bed4d331
DW
52
53clean:
54 -erase $(OBJECTS)
98de692c
DW
55 -erase $(OPATH)\*.exe
56 -erase $(OPATH)\*.obj
57 -erase $(OPATH)\*.res
58 -erase $(OPATH)\*.map
bed4d331 59