Ignore:
Timestamp:
09/17/04 11:34:13 (20 years ago)
Author:
moralejo
Message:
Simplified. Now the Mars libraries are simply used for linking, but no
Mars code is compiled by this Makefile.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/Camera/Makefile

    r5072 r5097  
    1919#
    2020# $RCSfile: Makefile,v $
    21 # $Revision: 1.25 $
     21# $Revision: 1.26 $
    2222# $Author: moralejo $
    23 # $Date: 2004-09-16 15:16:33 $
     23# $Date: 2004-09-17 10:34:13 $
    2424#
    2525##################################################################
     
    3939        -I${INCLUDE_COR}  \
    4040        -I${INCLUDE_MC}   \
    41         -I${INCLUDE_EVITA}   \
    42         -I${INCLUDE_EVITA_MC}   \
    43         -I${INCLUDE_EVITA_RAW}   \
    44         -I${INCLUDE_EVITA_BASE}   \
    45         -I${INCLUDE_MARS_MGEOM}   \
    4641        -I${INCLUDE_LONS}   \
    4742        -I${INCLUDE_STAR}   \
     
    4944        -I${INCLUDE_FADC}   \
    5045        -I${INCLUDE_ROOT} \
    51         -I${INCLUDE_CPLUS}
     46        -I${INCLUDE_CPLUS} \
     47        -I${INCLUDE_MARS_MBASE} \
     48        -I${INCLUDE_MARS_MGEOM} \
     49        -I${INCLUDE_MARS_MGUI} \
     50        -I${INCLUDE_MARS_MC} \
     51        -I${INCLUDE_MARS_MRAW}
    5252
    5353RANLIB  = -L${RANLIBDIR} -lranlib
     
    5959
    6060osf_FORLIBS = -lUfor -lfor -lutil -lots -lm
    61 #linux_FORLIBS =  -lf2c -lm /usr/lib/libc.a
    6261linux_FORLIBS =  -lm -ldl
    63 #linux_FORLIBS =  -lm -ldl -rdynamic
    6462generic_FORLIBS = -lm
    6563
    6664FORLIBS = ${${SYSTEM}_FORLIBS}
     65MARSLIBS = ../../../Mars/libmars.so
    6766
    6867# compilation and linking flags
     
    7170CFLAGS    = ${CXXFLAGS}
    7271FFLAGS    = ${CXXFLAGS}
    73 LIBS      = ${RANLIB} ${ROOTLIBS} ${ROOTGLIBS} ${GLIBS} \
    74             ${INCLUDE_EVITA_MC}/mmc.a ${INCLUDE_EVITA_RAW}/mraw.a \
    75             ${INCLUDE_EVITA_BASE}/mbase.a ${INCLUDE_MARS_MGEOM}/mgeom.a
    76 
    77 #
    78 #  ----->>>   Compile files related to MARS with Makefiles in their
    79 #             directories.
    80 #
    81 SUBDIRS = ${INCLUDE_EVITA_BASE} \
    82           ${INCLUDE_EVITA_MC}   \
    83           ${INCLUDE_EVITA_RAW}   \
    84           ${INCLUDE_MARS_MGEOM}
    85 
    86 LIBRARIES = $(SUBDIRS:=.a)
    87 MRPROPERS = $(SUBDIRS:=.mrproper)
    88 CLEANERS  = $(SUBDIRS:=.clean)
     72LIBS      = ${RANLIB} ${ROOTLIBS} ${ROOTGLIBS} ${GLIBS} ${MARSLIBS}
    8973
    9074#------------------------------------------------------------------------------
     
    145129        $(CXX) $(CXXFLAGS) $(OBJS) $(LIBS) -o $@
    146130
    147 $(LIBRARIES): makefiles
    148         @echo " Creating lib$@:"
    149         (cd $(@:.a=);make; cd ..)
    150 
    151 $(MRPROPERS): makefiles
    152         @echo " Doing Mr.Proper in $(@:.mrproper=)"
    153         (cd $(@:.mrproper=); (make mrproper > /dev/null); cd ..;)
    154 
    155 
    156131$(CLEANERS): makefiles
    157132        @echo "Cleaning $(@:.clean=):"
Note: See TracChangeset for help on using the changeset viewer.