]> git.saurik.com Git - wxWidgets.git/blame - utils/makefile.wat
Compile console apps with wxUSE_GUI=0
[wxWidgets.git] / utils / makefile.wat
CommitLineData
2ace0078
VS
1# =========================================================================
2# This makefile was generated by
c4839ccf 3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
2ace0078
VS
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:
26WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
27
28### Conditionally set variables: ###
29
30
31### Variables: ###
32
b17c1746
DE
33MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" &
34 CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" SHARED="$(SHARED)" &
35 WXUNIV="$(WXUNIV)" UNICODE="$(UNICODE)" BUILD="$(BUILD)" &
36 DEBUG_INFO="$(DEBUG_INFO)" DEBUG_FLAG="$(DEBUG_FLAG)" &
37 MONOLITHIC="$(MONOLITHIC)" USE_GUI="$(USE_GUI)" USE_HTML="$(USE_HTML)" &
c33fae85 38 USE_XRC="$(USE_XRC)" USE_OPENGL="$(USE_OPENGL)" USE_ODBC="$(USE_ODBC)" &
69ada15b 39 USE_EXCEPTIONS="$(USE_EXCEPTIONS)" OFFICIAL_BUILD="$(OFFICIAL_BUILD)" &
c33fae85
RN
40 VENDOR="$(VENDOR)" WX_FLAVOUR="$(WX_FLAVOUR)" &
41 WX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" CFG="$(CFG)" &
42 CPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" CPPUNIT_LIBS="$(CPPUNIT_LIBS)" &
43 RUNTIME_LIBS="$(RUNTIME_LIBS)"
2ace0078
VS
44
45
46### Targets: ###
47
e1e61c81 48all : .SYMBOLIC configtool emulator helpview tex2rtf helpgen
2ace0078
VS
49
50clean : .SYMBOLIC
51 -if exist .\*.obj del .\*.obj
52 -if exist .\*.res del .\*.res
53 -if exist .\*.lbc del .\*.lbc
54 -if exist .\*.ilk del .\*.ilk
b92ca8cf
VS
55 cd configtool\src
56 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
57 cd $(WATCOM_CWD)
58 cd emulator\src
59 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
60 cd $(WATCOM_CWD)
61 cd helpview\src
62 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
63 cd $(WATCOM_CWD)
64 cd tex2rtf\src
65 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
66 cd $(WATCOM_CWD)
67 cd HelpGen
68 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
69 cd $(WATCOM_CWD)
2ace0078 70
e1e61c81
VS
71configtool : .SYMBOLIC
72 cd configtool\src
73 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
74 cd $(WATCOM_CWD)
75
76emulator : .SYMBOLIC
77 cd emulator\src
78 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
79 cd $(WATCOM_CWD)
80
e1e61c81
VS
81helpview : .SYMBOLIC
82 cd helpview\src
83 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
84 cd $(WATCOM_CWD)
85
2ace0078
VS
86tex2rtf : .SYMBOLIC
87 cd tex2rtf\src
88 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
89 cd $(WATCOM_CWD)
b17c1746
DE
90
91helpgen : .SYMBOLIC
92 cd HelpGen
93 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
94 cd $(WATCOM_CWD)