1) some compilers (Watcom) don't like it if wxBase library PCH file contains
[wxWidgets.git] / samples / html / makefile.wat
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 !include ../../build/msw/config.wat
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 # Speed up compilation a bit:
14 !ifdef __LOADDLL__
15 !  loaddll wcc      wccd
16 !  loaddll wccaxp   wccdaxp
17 !  loaddll wcc386   wccd386
18 !  loaddll wpp      wppdi86
19 !  loaddll wppaxp   wppdaxp
20 !  loaddll wpp386   wppd386
21 !  loaddll wlink    wlink
22 !  loaddll wlib     wlibd
23 !endif
24
25 # We need these variables in some bakefile-made rules:
26 WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
27
28 ### Conditionally set variables: ###
29
30
31 ### Variables: ###
32
33 MAKEARGS = CPPFLAGS=$(CPPFLAGS) OFFICIAL_BUILD=$(OFFICIAL_BUILD) &
34         WXUNIV=$(WXUNIV) DEBUG_FLAG=$(DEBUG_FLAG) CFLAGS=$(CFLAGS) &
35         RUNTIME_LIBS=$(RUNTIME_LIBS) CXX=$(CXX) CFG=$(CFG) USE_GUI=$(USE_GUI) &
36         MONOLITHIC=$(MONOLITHIC) CXXFLAGS=$(CXXFLAGS) CC=$(CC) USE_HTML=$(USE_HTML) &
37         BUILD=$(BUILD) LDFLAGS=$(LDFLAGS) DEBUG_INFO=$(DEBUG_INFO) SHARED=$(SHARED) &
38         VENDOR=$(VENDOR) USE_OPENGL=$(USE_OPENGL) USE_ODBC=$(USE_ODBC) &
39         UNICODE=$(UNICODE)
40
41
42 ### Targets: ###
43
44 all : .SYMBOLIC about help helpview printing test virtual widget zip
45
46 about : .SYMBOLIC 
47         cd about
48         wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
49         cd $(WATCOM_CWD)
50
51 clean : .SYMBOLIC 
52         -if exist .\*.obj del .\*.obj
53         -if exist .\*.res del .\*.res
54         -if exist .\*.lbc del .\*.lbc
55         -if exist .\*.ilk del .\*.ilk
56
57 help : .SYMBOLIC 
58         cd help
59         wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
60         cd $(WATCOM_CWD)
61
62 helpview : .SYMBOLIC 
63         cd helpview
64         wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
65         cd $(WATCOM_CWD)
66
67 printing : .SYMBOLIC 
68         cd printing
69         wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
70         cd $(WATCOM_CWD)
71
72 test : .SYMBOLIC 
73         cd test
74         wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
75         cd $(WATCOM_CWD)
76
77 virtual : .SYMBOLIC 
78         cd virtual
79         wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
80         cd $(WATCOM_CWD)
81
82 widget : .SYMBOLIC 
83         cd widget
84         wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
85         cd $(WATCOM_CWD)
86
87 zip : .SYMBOLIC 
88         cd zip
89         wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
90         cd $(WATCOM_CWD)