]> git.saurik.com Git - wxWidgets.git/blob - samples/opengl/makefile.wat
give an #error if wxUSE_GLCANVAS == 0 instead of building empty samples
[wxWidgets.git] / samples / opengl / makefile.wat
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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 = 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)" &
38 USE_XRC="$(USE_XRC)" USE_OPENGL="$(USE_OPENGL)" USE_ODBC="$(USE_ODBC)" &
39 USE_EXCEPTIONS="$(USE_EXCEPTIONS)" OFFICIAL_BUILD="$(OFFICIAL_BUILD)" &
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)"
44
45
46 ### Targets: ###
47
48 all : .SYMBOLIC cube isosurf penguin
49
50 clean : .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
55 cd cube
56 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
57 cd $(WATCOM_CWD)
58 cd isosurf
59 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
60 cd $(WATCOM_CWD)
61 cd penguin
62 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
63 cd $(WATCOM_CWD)
64
65 cube : .SYMBOLIC
66 cd cube
67 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
68 cd $(WATCOM_CWD)
69
70 isosurf : .SYMBOLIC
71 cd isosurf
72 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
73 cd $(WATCOM_CWD)
74
75 penguin : .SYMBOLIC
76 cd penguin
77 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
78 cd $(WATCOM_CWD)