]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/opengl/makefile.wat
better variant support, fixes #11114
[wxWidgets.git] / samples / opengl / makefile.wat
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.2.6 (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_PROPGRID="$(USE_PROPGRID)" USE_RICHTEXT="$(USE_RICHTEXT)" &
44 USE_STC="$(USE_STC)" USE_OPENGL="$(USE_OPENGL)" USE_QA="$(USE_QA)" &
45 USE_EXCEPTIONS="$(USE_EXCEPTIONS)" USE_RTTI="$(USE_RTTI)" &
46 USE_THREADS="$(USE_THREADS)" USE_GDIPLUS="$(USE_GDIPLUS)" &
47 OFFICIAL_BUILD="$(OFFICIAL_BUILD)" VENDOR="$(VENDOR)" &
48 WX_FLAVOUR="$(WX_FLAVOUR)" WX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" CFG="$(CFG)" &
49 CPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" CPPUNIT_LIBS="$(CPPUNIT_LIBS)" &
50 RUNTIME_LIBS="$(RUNTIME_LIBS)"
51
52
53### Targets: ###
54
55all : .SYMBOLIC cube isosurf penguin
56
57clean : .SYMBOLIC
58 -if exist .\*.obj del .\*.obj
59 -if exist .\*.res del .\*.res
60 -if exist .\*.lbc del .\*.lbc
61 -if exist .\*.ilk del .\*.ilk
62 -if exist .\*.pch del .\*.pch
63 cd cube
64 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
65 cd $(WATCOM_CWD)
66 cd isosurf
67 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
68 cd $(WATCOM_CWD)
69 cd penguin
70 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
71 cd $(WATCOM_CWD)
72
73cube : .SYMBOLIC
74 cd cube
75 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
76 cd $(WATCOM_CWD)
77
78isosurf : .SYMBOLIC
79 cd isosurf
80 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
81 cd $(WATCOM_CWD)
82
83penguin : .SYMBOLIC
84 cd penguin
85 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
86 cd $(WATCOM_CWD)
87