1# =========================================================================
2#     This makefile was generated by
3#     Bakefile 0.2.9 (http://www.bakefile.org)
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! if $(__VERSION__) >= 1280
22!  loaddll wlink    wlinkd
23! else
24!  loaddll wlink    wlink
25! endif
26!  loaddll wlib     wlibd
27!endif
28
29# We need these variables in some bakefile-made rules:
30WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
31
32### Conditionally set variables: ###
33
34
35### Variables: ###
36
37MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" &
38	CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" CPP="$(CPP)" SHARED="$(SHARED)" &
39	WXUNIV="$(WXUNIV)" UNICODE="$(UNICODE)" BUILD="$(BUILD)" &
40	DEBUG_INFO="$(DEBUG_INFO)" DEBUG_FLAG="$(DEBUG_FLAG)" &
41	MONOLITHIC="$(MONOLITHIC)" USE_GUI="$(USE_GUI)" USE_HTML="$(USE_HTML)" &
42	USE_MEDIA="$(USE_MEDIA)" USE_XRC="$(USE_XRC)" USE_AUI="$(USE_AUI)" &
43	USE_RICHTEXT="$(USE_RICHTEXT)" USE_OPENGL="$(USE_OPENGL)" &
44	USE_ODBC="$(USE_ODBC)" USE_QA="$(USE_QA)" &
45	USE_EXCEPTIONS="$(USE_EXCEPTIONS)" USE_RTTI="$(USE_RTTI)" &
46	USE_THREADS="$(USE_THREADS)" USE_CAIRO="$(USE_CAIRO)" &
47	USE_GDIPLUS="$(USE_GDIPLUS)" OFFICIAL_BUILD="$(OFFICIAL_BUILD)" &
48	VENDOR="$(VENDOR)" WX_FLAVOUR="$(WX_FLAVOUR)" &
49	WX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" CFG="$(CFG)" &
50	CPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" CPPUNIT_LIBS="$(CPPUNIT_LIBS)" &
51	RUNTIME_LIBS="$(RUNTIME_LIBS)"
52
53
54### Targets: ###
55
56all : .SYMBOLIC styles wxedit
57
58clean : .SYMBOLIC 
59	-if exist .\*.obj del .\*.obj
60	-if exist .\*.res del .\*.res
61	-if exist .\*.lbc del .\*.lbc
62	-if exist .\*.ilk del .\*.ilk
63	-if exist .\*.pch del .\*.pch
64	cd styles
65	wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
66	cd $(WATCOM_CWD)
67	cd wxedit
68	wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
69	cd $(WATCOM_CWD)
70
71styles : .SYMBOLIC 
72	cd styles
73	wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
74	cd $(WATCOM_CWD)
75
76wxedit : .SYMBOLIC 
77	cd wxedit
78	wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
79	cd $(WATCOM_CWD)
80
81