1) some compilers (Watcom) don't like it if wxBase library PCH file contains
[wxWidgets.git] / samples / html / makefile.bcc
1 # =========================================================================
2 #     This makefile was generated by
3 #     Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 #     Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 !ifndef BCCDIR
8 BCCDIR = $(MAKEDIR)\..
9 !endif
10
11 !include ../../build/msw/config.bcc
12
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
16
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
19 !endif
20
21 ### Variables: ###
22
23 MAKEARGS = -DCPPFLAGS=$(CPPFLAGS) -DDEBUG_FLAG=$(DEBUG_FLAG) \
24         -DLDFLAGS=$(LDFLAGS) -DCC=$(CC) -DUSE_GUI=$(USE_GUI) \
25         -DMONOLITHIC=$(MONOLITHIC) -DCXXFLAGS=$(CXXFLAGS) -DUSE_HTML=$(USE_HTML) \
26         -DBUILD=$(BUILD) -DDEBUG_INFO=$(DEBUG_INFO) -DVENDOR=$(VENDOR) \
27         -DUNICODE=$(UNICODE) -DOFFICIAL_BUILD=$(OFFICIAL_BUILD) -DMSLU=$(MSLU) \
28         -DWXUNIV=$(WXUNIV) -DRUNTIME_LIBS=$(RUNTIME_LIBS) -DCXX=$(CXX) -DCFG=$(CFG) \
29         -DCFLAGS=$(CFLAGS) -DSHARED=$(SHARED) -DUSE_ODBC=$(USE_ODBC) \
30         -DUSE_OPENGL=$(USE_OPENGL)
31
32 ### Conditionally set variables: ###
33
34
35
36 ### Targets: ###
37
38 all: about help helpview printing test virtual widget zip
39
40 about: 
41         cd about
42         $(MAKE) -f makefile.bcc $(MAKEARGS) all
43         cd ..
44
45 clean: 
46         -if exist .\*.obj del .\*.obj
47         -if exist .\*.res del .\*.res
48
49 help: 
50         cd help
51         $(MAKE) -f makefile.bcc $(MAKEARGS) all
52         cd ..
53
54 helpview: 
55         cd helpview
56         $(MAKE) -f makefile.bcc $(MAKEARGS) all
57         cd ..
58
59 printing: 
60         cd printing
61         $(MAKE) -f makefile.bcc $(MAKEARGS) all
62         cd ..
63
64 test: 
65         cd test
66         $(MAKE) -f makefile.bcc $(MAKEARGS) all
67         cd ..
68
69 virtual: 
70         cd virtual
71         $(MAKE) -f makefile.bcc $(MAKEARGS) all
72         cd ..
73
74 widget: 
75         cd widget
76         $(MAKE) -f makefile.bcc $(MAKEARGS) all
77         cd ..
78
79 zip: 
80         cd zip
81         $(MAKE) -f makefile.bcc $(MAKEARGS) all
82         cd ..