]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/opengl.bkl
adapted Julian's new speed improved version
[wxWidgets.git] / build / bakefiles / opengl.bkl
index 79dc56c13ad846d06f0ab4645b8cc47da145405f..38950a92cd92971e7c3a3b49ca2fbb3fe0e17bf8 100644 (file)
         <!-- link against the wxWin library in monolithic build: -->
         <sys-lib>$(WXLIB_MONO)</sys-lib>
 
-        <if cond="FORMAT=='autoconf'">
-            <ldflags>$(EXTRALIBS_OPENGL)</ldflags>
-        </if>
-        <!-- system libraries on windows: -->
-        <if cond="FORMAT!='autoconf'">
-            <if cond="COMPILER=='wat' or COMPILER=='gcc'">
-                <sys-lib>opengl32</sys-lib>
-                <sys-lib>glu32</sys-lib>
-            </if>
-        </if>        
+        <ldlibs>$(EXTRALIBS_OPENGL)</ldlibs>
     </dll>
     
     <lib id="gllib" template="wx_lib"
@@ -47,4 +38,6 @@
         <msvc-headers>$(OPENGL_HDR)</msvc-headers>
     </lib>
 
+    <wxshortcut id="wxgl" cond="USE_GUI=='1' and USE_OPENGL=='1'"/>
+
 </makefile>