Browse Source

use combined srcs

cxgeorge 24 years ago
parent
commit
1a5076a528
2 changed files with 9 additions and 2 deletions
  1. 6 2
      panda/src/wgldisplay/Sources.pp
  2. 3 0
      panda/src/wgldisplay/wgldisplay_composite1.cxx

+ 6 - 2
panda/src/wgldisplay/Sources.pp

@@ -7,10 +7,14 @@
   #define TARGET wgldisplay
   #define LOCAL_LIBS \
     glgsg display putil
+    
+  #define COMBINED_SOURCES $[TARGET]_composite1.cxx 
 
   #define SOURCES \
-    config_wgldisplay.cxx config_wgldisplay.h wglGraphicsPipe.cxx \
-    wglGraphicsPipe.h wglGraphicsWindow.cxx wglGraphicsWindow.h
+    config_wgldisplay.h wglGraphicsPipe.h wglGraphicsWindow.cxx wglGraphicsWindow.h
+    
+  #define INCLUDED_SOURCES \
+    config_wgldisplay.cxx wglGraphicsPipe.cxx
 
   #define INSTALL_HEADERS \
      config_wgldisplay.h wglGraphicsPipe.h wglGraphicsWindow.h

+ 3 - 0
panda/src/wgldisplay/wgldisplay_composite1.cxx

@@ -0,0 +1,3 @@
+
+#include"config_wgldisplay.cxx"
+#include"wglGraphicsPipe.cxx"