From e902ee9814f2312efbebacb20cd31b91ed8327a1 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Thu, 7 Jun 2001 01:42:23 +0000 Subject: [PATCH] use combined srcs --- panda/src/switchnode/Sources.pp | 12 +++++++++--- panda/src/switchnode/switchnode_composite1.cxx | 5 +++++ panda/src/switchnode/switchnode_composite2.cxx | 4 ++++ 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 panda/src/switchnode/switchnode_composite1.cxx create mode 100644 panda/src/switchnode/switchnode_composite2.cxx diff --git a/panda/src/switchnode/Sources.pp b/panda/src/switchnode/Sources.pp index 284204abc1..30941a05df 100644 --- a/panda/src/switchnode/Sources.pp +++ b/panda/src/switchnode/Sources.pp @@ -6,11 +6,17 @@ #define LOCAL_LIBS \ display sgraph graph sgraphutil sgattrib gobj putil gsgbase linmath \ mathutil + + #define COMBINED_SOURCES $[TARGET]_composite1.cxx $[TARGET]_composite2.cxx #define SOURCES \ - LODNode.I LODNode.cxx LODNode.h config_switchnode.cxx \ - config_switchnode.h sequenceNode.cxx sequenceNode.h \ - switchNodeOne.I switchNodeOne.cxx switchNodeOne.h + LODNode.I LODNode.h \ + config_switchnode.h sequenceNode.h \ + switchNodeOne.I switchNodeOne.h + + #define INCLUDED_SOURCES \ + LODNode.cxx config_switchnode.cxx \ + sequenceNode.cxx switchNodeOne.cxx #define INSTALL_HEADERS \ config_switchnode.h LODNode.I LODNode.h sequenceNode.h \ diff --git a/panda/src/switchnode/switchnode_composite1.cxx b/panda/src/switchnode/switchnode_composite1.cxx new file mode 100644 index 0000000000..ac68da40cb --- /dev/null +++ b/panda/src/switchnode/switchnode_composite1.cxx @@ -0,0 +1,5 @@ + +#include "config_switchnode.cxx" +#include "LODNode.cxx" + + diff --git a/panda/src/switchnode/switchnode_composite2.cxx b/panda/src/switchnode/switchnode_composite2.cxx new file mode 100644 index 0000000000..ccb96ae159 --- /dev/null +++ b/panda/src/switchnode/switchnode_composite2.cxx @@ -0,0 +1,4 @@ + +#include "sequenceNode.cxx" +#include "switchNodeOne.cxx" +