Changeset 2485


Ignore:
Timestamp:
11/07/03 15:34:47 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2484 r2485  
    2222   * mhist/Makefile, mhist/HistLinkDef.h:
    2323     - added MHEvent
     24
     25   * Makefile, Makefile.rules:
     26     - automatically create dependancies
    2427
    2528   * NEWS:
  • trunk/MagicSoft/Mars/Makefile

    r2481 r2485  
    7474        @echo " "
    7575
     76include Makefile.depend
     77
    7678# Use $(CXX) -v ... for a more verbose output
    7779#
     
    136138        @echo "Making tar-file"
    137139        @root -b -q -l -n tar.C
    138 #       @tar cvf ../mars.tar --exclude=Root .rootrc *
     140#       @tar cvf ../mars.tar --exclude=Root .roo trc *
    139141#       @gzip -9 ../mars.tar
    140142
     143depend:
     144        (! find ./ Makefile.depend -maxdepth 1 -empty 2> /dev/null && \
     145        echo " Generating dependancies into Makefile.depend" && \
     146        makedepend -- $(INCLUDES) -- $(PROGRAMS:=.cc) $(SRCS) $(SUBDIRS:=/*.cc) -f- 2> /dev/null | grep -v Cint | grep -v "/usr/" > Makefile.depend && \
     147        echo " ") || find -maxdepth 0 -true > /dev/null
     148
     149Makefile.depend: depend
     150
    141151# @endcode
  • trunk/MagicSoft/Mars/Makefile.rules

    r2122 r2485  
    1 
    2 depend:
    3         @makedepend $(SRCS) $(INCLUDES) -I$(INCLUDE_CPLUS) $(ROOTCFLAGS) \
    4         -f Makefile.depend 2> kk.kk ; cat kk.kk
    51
    62$(LIB): $(OBJS) $(HEADERS) $(CINT)Cint.o
     
    2622        @echo " - Compiling" $<
    2723        $(CC) $(CFLAGS) -c $< -o $@
     24
    2825#
    2926# The cleaning facility
Note: See TracChangeset for help on using the changeset viewer.