Building a stand-alone library with scons

Tried prescription in email message of 7 Oct 2014 from Dave. Did not have success:

lorentz:marki:TOF> scons
scons: Reading SConscript files ...
  File "/local/scratch/quick/sim-recon/src/libraries/TOF/SConstruct", line 121:
  File "/home/gluex/gluex_top/sim-recon/sim-recon-1.4.0/src/SBMS/", line 41:
    objects = env['MISC_OBJECTS']
  File "/usr/lib/scons/SCons/", line 412:
    return self._dict[key]

re-make of sim-recon does a recompile when not necessary

trying it on ltmarki, halld/sim-recon-2012-09-26

The re-compilation:

g++ -I. -I.. -I../include -I/home/marki/halld/sim-recon-2012-09-26/include -I/home/marki/halld/sim-recon-2012-09-26/include -D_FILE_OFFSET_BITS=64 -I/usr/local/gluex/jana/prod/include -I/usr/local/gluex/xerces-c/prod/include -D_ROOT_ -DROOT_MAJOR=5 -DROOT_MINOR=34 -pthread -m32 -I/usr/local/gluex/root/prod/include -I/usr/local/gluex/root/prod/include -O2 -Wall   -c -o DEventSourceHDDM.o
^Cmake[3]: *** wait: No child processes.  Stop.
make[3]: *** Waiting for unfinished jobs….
make[3]: *** wait: No child processes.  Stop.
make[2]: *** [library] Error 2
make[1]: *** [HDDM] Interrupt
make: *** [libraries] Interrupt

same deal on multiple makes
only repeats for LOCAL_HALLD_HOME

Solved: 12/20/12

Changed the makefile in sim-recon/src/external/xstream/src to preserve timestamps when doing the install. This prevents unnecessary re-compilation in libraries/HDDM. This was only happening with the top-level make since only then did a make install get repeated in the external directory.