]> git.saurik.com Git - wxWidgets.git/blob - samples/opengl/makefile.wat
Use X64 machine type for MSVC linker instead of old AMD64.
[wxWidgets.git] / samples / opengl / makefile.wat
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.8 (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:
30 WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
31
32 ### Conditionally set variables: ###
33
34
35 ### Variables: ###
36
37 MAKEARGS = 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_RIBBON="$(USE_RIBBON)" USE_PROPGRID="$(USE_PROPGRID)" &
44 USE_RICHTEXT="$(USE_RICHTEXT)" USE_STC="$(USE_STC)" &
45 USE_OPENGL="$(USE_OPENGL)" USE_QA="$(USE_QA)" &
46 USE_EXCEPTIONS="$(USE_EXCEPTIONS)" USE_RTTI="$(USE_RTTI)" &
47 USE_THREADS="$(USE_THREADS)" USE_CAIRO="$(USE_CAIRO)" &
48 USE_GDIPLUS="$(USE_GDIPLUS)" OFFICIAL_BUILD="$(OFFICIAL_BUILD)" &
49 VENDOR="$(VENDOR)" WX_FLAVOUR="$(WX_FLAVOUR)" &
50 WX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" CFG="$(CFG)" &
51 CPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" CPPUNIT_LIBS="$(CPPUNIT_LIBS)" &
52 RUNTIME_LIBS="$(RUNTIME_LIBS)"
53
54
55 ### Targets: ###
56
57 all : .SYMBOLIC cube isosurf penguin
58
59 clean : .SYMBOLIC
60 -if exist .\*.obj del .\*.obj
61 -if exist .\*.res del .\*.res
62 -if exist .\*.lbc del .\*.lbc
63 -if exist .\*.ilk del .\*.ilk
64 -if exist .\*.pch del .\*.pch
65 cd cube
66 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
67 cd $(WATCOM_CWD)
68 cd isosurf
69 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
70 cd $(WATCOM_CWD)
71 cd penguin
72 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
73 cd $(WATCOM_CWD)
74
75 cube : .SYMBOLIC
76 cd cube
77 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
78 cd $(WATCOM_CWD)
79
80 isosurf : .SYMBOLIC
81 cd isosurf
82 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
83 cd $(WATCOM_CWD)
84
85 penguin : .SYMBOLIC
86 cd penguin
87 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
88 cd $(WATCOM_CWD)
89