Ignore:
Timestamp:
03/02/01 12:09:07 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mdatacheck/Makefile

    r546 r665  
    66#
    77##################################################################
    8 # @maintitle
    9 
    10 # @code
    11 
    12 #
    13 #  please change all system depend values in the
    14 #  config.mk.${OSTYPE} file
    15 #
    16 #
    178include ../Makefile.conf.$(OSTYPE)
    189include ../Makefile.conf.general
    1910
    20 # @endcode
     11#
     12# Handling name of the Root Dictionary Files
     13#
     14CINT  = DataCheck
    2115
    22 # @code
    23 
     16#
     17# Library name to creatre
     18#
    2419LIB   = mdatacheck.a
    2520
     
    2722#  connect the include files defined in the config.mk file
    2823#
    29 INCLUDES = -I. -I../ -I../mbase -I../mraw
    30 
    31 #
    32 #  ----->>>   root libraries
    33 #
    34 
    35 ROOTLIBS   =  `root-config --libs`
    36 ROOTGLIBS  =  `root-config --glibs`
    37 ROOTCFLAGS =  `root-config --cflags`
    38 
    39 #
    40 #  compiler flags
    41 #
    42 
    43 CXXFLAGS  = $(ROOTCFLAGS) $(INCLUDES) $(OPTIM) $(DEBUG)
    44 CFLAGS    = $(CXXFLAGS)
    45 FFLAGS    = $(CXXFLAGS)
     24INCLUDES = -I. -I../mbase -I../mraw
    4625
    4726#------------------------------------------------------------------------------
    4827
    49 #.SILENT:
    50 
    5128.SUFFIXES: .c .cc .cxx .h .hxx .o
    5229
    53 
    54 SRCFILES = MViewAdcSpectra.cc \
     30SRCFILES = MDumpEvtHeader.cc \
    5531           MFillAdcSpect.cc \
    56            MDumpEvtHeader.cc \
     32           MGDisplayAdc.cc \
     33           MHistosAdc.cc \
    5734           MShowSpect.cc \
    58            MHistosAdc.cc \
    59            MGDisplayAdc.cc
     35           MViewAdcSpectra.cc
    6036
    6137SRCS    = $(SRCFILES)
     
    6743all: $(LIB)
    6844
    69 depend:
    70         @makedepend $(SRCS) $(INCLUDES) $(ROOTCFLAGS) \
    71         -f../Makefile.depend 2> kk.kk ; cat kk.kk
     45include ../Makefile.rules
    7246
    73 $(LIB): $(OBJS) DataCheckCint.o
    74         @echo " - Building Library $(LIB) ... "
    75         $(AR) $(LIB) *.o
     47clean:  rmlib rmcint rmobjs rmcore rmbin
    7648
    77 DataCheckCint.cc: $(HEADERS)
    78         @echo
    79         @echo " - Generating dictionary DataCheckCint.cc ..."
    80 
    81         $(ROOTSYS)/bin/rootcint -f DataCheckCint.cc \
    82         -c $(INCLUDES) $(HEADERS) DataCheckIncl.h DataCheckLinkDef.h
    83 
    84 .cxx.o:
    85         @echo " - Compiling " $<
    86         $(CXX) $(CXXFLAGS) -c $< -o $@
    87 
    88 .cc.o: 
    89         @echo " - Compiling " $<
    90         $(CXX) $(CXXFLAGS) -c $< -o $@
    91 
    92 .c.o:   
    93         @echo " - Compiling " $<
    94         $(CC) $(CFLAGS) -c $< -o $@
    95 
    96 #
    97 # The cleaning facility
    98 #
    99 
    100 rmlib: 
    101         @echo "Removing libraries..."
    102         @rm -f lib*.a
    103 
    104 rmcint:
    105         @echo "Removing cint-stuff..."
    106         @rm -f DataCheckCint.*
    107 
    108 rmobjs:
    109         @echo "Removing object files..."
    110         @rm -f *.o
    111 
    112 rmbin: 
    113         @echo "Removing binary files..."
    114         @rm -f core
    115 
    116 
    117 clean:  rmlib rmcint rmobjs rmbin
    118 
    119 mrproper:       clean
    120         @echo "Removing *~ kk.kk html/..."
    121         @rm -f *~ kk.kk
    122 
    123 cflags:
    124         @echo $(INCLUDES) $(CXXFLAGS)
     49mrproper:       clean rmbak
    12550
    12651# @endcode
Note: See TracChangeset for help on using the changeset viewer.