Ignore:
Timestamp:
01/12/01 14:48:35 (24 years ago)
Author:
tbretz
Message:
see Changelog
File:
1 edited

Legend:

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

    r463 r466  
    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  = Raw
    2115
    22 # @code
    23 
     16#
     17# Library name to creatre
     18#
    2419LIB   = libmraw.a
    2520
     
    2924INCLUDES = -I. -I../mbase
    3025
    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)
    46 
    4726#------------------------------------------------------------------------------
    4827
    49 #.SILENT:
    50 
    5128.SUFFIXES: .c .cc .cxx .h .hxx .o
    52 
    5329
    5430SRCFILES = MRawRunHeader.cc \
     
    6137           MRawFileWrite.cc
    6238
    63 
    64 
    6539SRCS    = $(SRCFILES)
    6640HEADERS = $(SRCFILES:.cc=.h)
     
    7145all: $(LIB)
    7246
    73 depend:
    74         @makedepend $(SRCS) $(INCLUDES) $(ROOTCFLAGS) \
    75         -f../Makefile.depend 2> kk.kk ; cat kk.kk
     47include ../Makefile.rules
    7648
    77 $(LIB): $(OBJS) RawCint.o
    78         @echo " - Building Library $(LIB) ... "
    79         $(AR) $(LIB) *.o
     49clean:  rmlib rmcint rmobjs rmcore rmbin
    8050
    81 RawCint.cc: $(HEADERS)
    82         @echo
    83         @echo " - Generating dictionary RawCint.cc ..."
    84 
    85         $(ROOTSYS)/bin/rootcint -f RawCint.cc \
    86         -c $(INCLUDES) $(HEADERS) RawIncl.h RawLinkDef.h
    87 
    88 .cxx.o:
    89         @echo " - Compiling " $<
    90         $(CXX) $(CXXFLAGS) -c $< -o $@
    91 
    92 .cc.o: 
    93         @echo " - Compiling " $<
    94         $(CXX) $(CXXFLAGS) -c $< -o $@
    95 
    96 .c.o:   
    97         @echo " - Compiling " $<
    98         $(CC) $(CFLAGS) -c $< -o $@
    99 
    100 #
    101 # The cleaning facility
    102 #
    103 
    104 rmlib: 
    105         @echo "Removing libraries..."
    106         @rm -f lib*.a
    107 
    108 rmcint:
    109         @echo "Removing cint-stuff..."
    110         @rm -f RawCint.*
    111 
    112 rmobjs:
    113         @echo "Removing object files..."
    114         @rm -f *.o
    115 
    116 rmbin: 
    117         @echo "Removing binary files..."
    118         @rm -f core
    119 
    120 
    121 clean:  rmlib rmcint rmobjs rmbin
    122 
    123 mrproper:       clean
    124         @echo "Removing *~ kk.kk html/..."
    125         @rm -f *~ kk.kk
    126 
    127 cflags:
    128         @echo $(INCLUDES) $(CXXFLAGS)
     51mrproper:       clean rmbak
    12952
    13053# @endcode
Note: See TracChangeset for help on using the changeset viewer.