Modifying your programModifying your code to port to the new frameworkModifying your code to port to the new frameworkEditing the Makefile

Editing the Makefile

Since we are using the "traditional" readout scheme we must first ensure that the compatibility mode bridges will be compiled and linked. Locate the section of the makefile that reads:

#
#  Add any additional objects you need to build to this line.
#
Objects=Skeleton.o
#
#   If you are using a 'traditional readout skeleton uncomment the next line:
#Objects= Skeleton.o CTraditionalEventSegment.o  CTraditionalScalerReadout.o

Modify this section to read:

#
#  Add any additional objects you need to build to this line.
#
#Objects=Skeleton.o
#
#   If you are using a 'traditional readout skeleton uncomment the next line:
Objects= Skeleton.o CTraditionalEventSegment.o CTraditionalScalerReadout.o   

Add your object modules as well to this line. In our example, this will make the Objects macro definition read:

#
#  Add any additional objects you need to build to this line.
#
#Objects=Skeleton.o
#
#   If you are using a 'traditional readout skeleton uncomment the next line:
Objects= Skeleton.o CTraditionalEventSegment.o CTraditionalScalerReadout.o   \
              param.o gasN4_daq.o


Report documentation errors to Ron Fox (fox@nscl.msu.edu)or NSCL's Bugzilla page

Modifying your programModifying your code to port to the new frameworkModifying your code to port to the new frameworkEditing the Makefile