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

    r463 r466  
    1515#
    1616#
    17 INCLUDEMK = ../Makefile.conf.$(OSTYPE)
    18 include $(INCLUDEMK)
     17include ../Makefile.conf.$(OSTYPE)
     18include ../Makefile.conf.general
    1919
    2020# @endcode
    2121
     22INCLUDES = -I.
     23
    2224# @code
    2325
    24 LIB   = libmbase.a
    25 
    26 #
    27 #  connect the include files defined in the config.mk file
    28 #
    29 INCLUDES = -I./
    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)
     26CINT     = Base
     27LIB      = libmbase.a
    4628
    4729#------------------------------------------------------------------------------
    4830
    49 #.SILENT:
    50 
    5131.SUFFIXES: .c .cc .cxx .h .hxx .o
    52 
    5332
    5433SRCFILES = MTask.cc \
     
    7251all: $(LIB)
    7352
    74 depend:
    75         @makedepend $(SRCS) $(INCLUDES) $(ROOTCFLAGS) \
    76         -fMakefile.depend 2> kk.kk ; cat kk.kk
     53include ../Makefile.rules
    7754
    78 $(LIB): $(OBJS) BaseCint.o
    79         @echo " - Building Library $(LIB) ... "
    80         $(AR) $(LIB) *.o
     55clean:  rmlib rmcint rmobjs rmcore
    8156
    82 BaseCint.cc: $(HEADERS)
    83         @echo
    84         @echo " - Generating dictionary BaseCint.cc ..."
    85 
    86         $(ROOTSYS)/bin/rootcint -f BaseCint.cc \
    87         -c $(INCLUDES) $(HEADERS) BaseIncl.h BaseLinkDef.h
    88 
    89 .cxx.o:
    90         @echo " - Compiling " $<
    91         $(CXX) $(CXXFLAGS) -c $< -o $@
    92 
    93 .cc.o: 
    94         @echo " - Compiling " $<
    95         $(CXX) $(CXXFLAGS) -c $< -o $@
    96 
    97 .c.o:   
    98         @echo " - Compiling " $<
    99         $(CC) $(CFLAGS) -c $< -o $@
    100 
    101 #
    102 # The cleaning facility
    103 #
    104 
    105 rmlib: 
    106         @echo "Removing libraries..."
    107         @rm -f lib*.a
    108 
    109 rmcint:
    110         @echo "Removing cint-stuff..."
    111         @rm -f BaseCint.*
    112 
    113 rmobjs:
    114         @echo "Removing object files..."
    115         @rm -f *.o
    116 
    117 rmbin: 
    118         @echo "Removing binary files..."
    119         @rm -f core
    120 
    121 
    122 clean:  rmlib rmcint rmobjs rmbin
    123 
    124 mrproper:       clean
    125         @echo "Removing *~ kk.kk html/..."
    126         @rm -f *~ kk.kk
    127 
    128 cflags:
    129         @echo $(INCLUDES) $(CXXFLAGS)
     57mrproper:       clean rmbak
    13058
    13159# @endcode
Note: See TracChangeset for help on using the changeset viewer.