Ignore:
Timestamp:
11/08/01 10:57:01 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Makefile

    r1048 r1052  
    4848
    4949LIBRARIES = $(SUBDIRS:=.a)
     50MRPROPERS = $(SUBDIRS:=.mrproper)
     51CLEANERS  = $(SUBDIRS:=.clean)
    5052
    5153#------------------------------------------------------------------------------
     
    6264
    6365all: rmlib $(PROGRAMS) $(SOLIB)
     66        @echo " Done. "
     67        @echo " "
    6468
    6569# Use $(CXX) -v ... for a more verbose output
     
    8084
    8185$(LIBRARIES):
    82         @echo " " 
    8386        @echo " Creating lib$@:"
    8487        (cd $*; make; cd ..; mv $*/$@ lib/lib$@)
     88
     89$(MRPROPERS):
     90        @echo " Doing Mr.Proper in $(@:.mrproper=)"
     91        (cd $(@:.mrproper=); (make mrproper > /dev/null); cd ..;)
     92
     93$(CLEANERS):
     94        @echo "Cleaning $(@:.clean=):"
     95        (cd $(@:.clean=); make clean; cd ..;)
    8596
    8697dox:
     
    90101include Makefile.rules
    91102
    92 clean:  rmlib rmcint rmobjs rmcore rmbin
     103clean:  rmcint rmobjs rmcore rmlib
    93104
    94 mrproper:       clean rmbak
    95         @echo "Removing backup files in macros"
    96         @rm -f macros/*~
    97         @echo "Removing htmldoc-tree"
    98         @rm -rf htmldoc
    99         @echo "Doing Mr.Proper in manalysis"
    100         @cd manalysis; (make mrproper > /dev/null); cd ..
    101         @echo "Doing Mr.Proper in mbase"
    102         @cd mbase; (make mrproper > /dev/null); cd ..
    103         @echo "Doing Mr.Proper in mdatacheck"
    104         @cd mdatacheck; (make mrproper > /dev/null); cd ..
    105         @echo "Doing Mr.Proper in mevtdisp"
    106         @cd meventdisp; (make mrproper > /dev/null); cd ..
    107         @echo "Doing Mr.Proper in mfilter"
    108         @cd mfilter; (make mrproper > /dev/null); cd ..
    109         @echo "Doing Mr.Proper in mgui"
    110         @cd mgui; (make mrproper > /dev/null); cd ..
    111         @echo "Doing Mr.Proper in mhist"
    112         @cd mhist; (make mrproper > /dev/null); cd ..
    113         @echo "Doing Mr.Proper in mmain"
    114         @cd mmain; (make mrproper > /dev/null); cd ..
    115         @echo "Doing Mr.Proper in mmc"
    116         @cd mmc; (make mrproper > /dev/null); cd ..
    117         @echo "Doing Mr.Proper in mmontecarlo"
    118         @cd mmontecarlo; (make mrproper > /dev/null); cd ..
    119         @echo "Doing Mr.Proper in mraw"
    120         @cd mraw; (make mrproper > /dev/null); cd ..
    121         @echo "Done."
     105mrproper:       $(MRPROPERS) rmbin rmbak rmbakmac rmhtml clean
     106        @echo " Done."
    122107
    123108tar:    mrproper
Note: See TracChangeset for help on using the changeset viewer.