Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:10

0001 # temporarily in CVS for DQM needs
0002 
0003 CXX     = g++
0004 
0005 CXXFLAGS  = -pedantic -Wno-long-long -Wall 
0006 
0007 DEFINES   = $(INPDEF) $(OUTDEF)
0008 
0009 #------------------------------------------------------
0010 INCLUDES += -I../../ -I../../../ -I../../../../../ 
0011 
0012 
0013 SRCPATH   = ../src
0014 SRCS      = $(SRCPATH)/CSCALCTDigi.cc $(SRCPATH)/CSCCLCTDigi.cc\
0015             $(SRCPATH)/CSCWireDigi.cc $(SRCPATH)/CSCComparatorDigi.cc \
0016             $(SRCPATH)/CSCStripDigi.cc $(SRCPATH)/CSCRPCDigi.cc \
0017             $(SRCPATH)/CSCCorrelatedLCTDigi.cc
0018 
0019 OBJS      = $(notdir $(SRCS:.cc=.o))
0020 
0021 %.o: ../src/%.cc ../interface/%.h
0022         $(CXX) -c $(CXXFLAGS) $(DEFINES) $(INCLUDES) $<
0023 
0024 %.o: %.cpp
0025         $(CXX) -c $(CXXFLAGS) $(DEFINES) $(INCLUDES) $<
0026 
0027 
0028 all: lib 
0029 
0030 lib: libCSCDigi.a libCSCDigi.so
0031 
0032 
0033 libCSCDigi.so: $(OBJS)
0034         $(CXX) $(CXXFLAGS) $(DEFINES) $(INCLUDES) -shared $(OBJS) $(TriDASLIB) -o $@
0035 
0036 libCSCDigi.a: $(OBJS)
0037         ar cr $@ $(OBJS)
0038 
0039 clean:
0040         @rm -f libCSCDigi.* *.o program RunNum* core*