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/meventdisp/Makefile

    r586 r665  
    1 #################################################################
     1##################################################################
    22#
    33#   makefile
     
    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  = EvtDisp
    2115
    22 # @code
    23 
     16#
     17# Library name to creatre
     18#
    2419LIB   = meventdisp.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 
    5430SRCFILES = MGFadcDisp.cc
    55 
    5631
    5732SRCS    = $(SRCFILES)
     
    6338all: $(LIB)
    6439
    65 depend:
    66         @makedepend $(SRCS) $(INCLUDES) $(ROOTCFLAGS) \
    67         -f../Makefile.depend 2> kk.kk ; cat kk.kk
     40include ../Makefile.rules
    6841
    69 $(LIB): $(OBJS) EvtDispCint.o
    70         @echo " - Building Library $(LIB) ... "
    71         $(AR) $(LIB) *.o
     42clean:  rmlib rmcint rmobjs rmcore rmbin
    7243
    73 EvtDispCint.cc: $(HEADERS)
    74         @echo
    75         @echo " - Generating dictionary EvtDispCint.cc ..."
    76 
    77         $(ROOTSYS)/bin/rootcint -f EvtDispCint.cc \
    78         -c $(INCLUDES) $(HEADERS) EvtDispIncl.h EvtDispLinkDef.h
    79 
    80 .cxx.o:
    81         @echo " - Compiling " $<
    82         $(CXX) $(CXXFLAGS) -c $< -o $@
    83 
    84 .cc.o: 
    85         @echo " - Compiling " $<
    86         $(CXX) $(CXXFLAGS) -c $< -o $@
    87 
    88 .c.o:   
    89         @echo " - Compiling " $<
    90         $(CC) $(CFLAGS) -c $< -o $@
    91 
    92 #
    93 # The cleaning facility
    94 #
    95 
    96 rmlib: 
    97         @echo "Removing libraries..."
    98         @rm -f lib*.a
    99 
    100 rmcint:
    101         @echo "Removing cint-stuff..."
    102         @rm -f EvtDispCint.*
    103 
    104 rmobjs:
    105         @echo "Removing object files..."
    106         @rm -f *.o
    107 
    108 rmbin: 
    109         @echo "Removing binary files..."
    110         @rm -f core
    111 
    112 
    113 clean:  rmlib rmcint rmobjs rmbin
    114 
    115 mrproper:       clean
    116         @echo "Removing *~ kk.kk html/..."
    117         @rm -f *~ kk.kk
    118 
    119 cflags:
    120         @echo $(INCLUDES) $(CXXFLAGS)
     44mrproper:       clean rmbak
    12145
    12246# @endcode
Note: See TracChangeset for help on using the changeset viewer.