################################################################## # # makefile # # @file makefile # @title Simulation of the camera and trigger logic # @author J C Gonz\'alez # @email gonzalez@mppmu.mpg.de # @date Fri Mar 12 11:51:11 MET 1999 # #_______________________________________________________________ # # Created: Fri Mar 12 11:51:11 MET 1999 # Author: Jose Carlos Gonzalez # Purpose: Makefile for the compilation of the camera program # Notes: # #--------------------------------------------------------------- # # $RCSfile: Makefile,v $ # $Revision: 1.5 $ # $Author: harald $ # $Date: 2000-07-17 08:05:20 $ # ################################################################## # @maintitle # @code INCLUDEMK = config.mk.${OSTYPE} include ${INCLUDEMK} # @endcode # @code # common flags INCLUDES = -I${INCLUDE} \ -I${INCLUDE_COR} \ -I${INCLUDE_ROOT} \ -I${INCLUDE_SIMO} \ -I/usr/include -I/usr/include/g++ RANLIB = -L${RANLIBDIR} -lranlib # what is needed for ROOT is declared in config.mk file # special flags osf_FORLIBS = -lUfor -lfor -lutil -lots -lm linux_FORLIBS = -lm generic_FORLIBS = -lm FORLIBS = ${${SYSTEM}_FORLIBS} # compilation and linking flags CXXFLAGS = -D__${SYSTEM}__ ${INCLUDES} ${OPTIM} ${DEBUG} CFLAGS = ${CXXFLAGS} FFLAGS = ${CXXFLAGS} LIBS = ${RANLIB} ${ROOTLIBS} ${ROOTGLIBS} ${GLIBS} ${FORLIBS} #LIBS = ${CERNLIB} ${RANLIB} ${FORLIBS} #------------------------------------------------------------------------------ #.SILENT: .SUFFIXES: .c .cxx .C .c++ .h .hxx .H .h++ .o .so .f SRCS = \ ${INCLUDE_COR}/COREventHeader.cxx \ ${INCLUDE_COR}/CORParticle.cxx \ ${INCLUDE_COR}/CORStatfile.cxx \ MainFrameSimone.cxx \ simone.cxx HEADERS = \ COREventHeader.hxx \ CORParticle.hxx \ CORStatfile.hxx \ MainFrameSimone.hxx \ simone.h OBJS = \ ${INCLUDE_COR}/COREventHeader.o \ ${INCLUDE_COR}/CORParticle.o \ ${INCLUDE_COR}/CORStatfile.o \ MainFrameSimone.o \ simone.o PROGRAM=guisimone ############################################################ all: ${PROGRAM} depend: @makedepend $(SRCS) -fMakefile 2> /dev/null doc: reflector-doc reflector-doc: @echo "Generating documentation for camera . . . " $(DOCUM) -latex -o reflector.tex \ reflector.cxx reflector.h \ readparam.cxx readparam.h \ atm.cxx atm.h latex "\nonstopmode\input{reflector.tex}" && \ makeindex reflector && \ latex "\nonstopmode\input{reflector.tex}" && \ latex "\nonstopmode\input{reflector.tex}" @echo "Files reflector.tex and reflector.dvi generated." rate: @echo "Rating documentation inside code . . . " $(RATE) \ reflector.cxx reflector.h \ readparam.cxx readparam.h \ atm.cxx atm.h ${PROGRAM}: $(OBJS) @echo "Linking..." $@ $(CXX) $(CXXFLAGS) $(OBJS) $(LIBS) -o $@ @echo "done." .cxx.o: @echo "Compiling " $< $(CXX) $(CXXFLAGS) -c $< -o $@ .c.o: @echo "Compiling " $< $(CC) $(CFLAGS) -c $< -o $@ .f.o: @echo "Compiling " $< $(F77) $(FFLAGS) -c $< -o $@ lclean: @echo "Cleanning..." @rm -f *.o core clean: @echo "Cleanning..." @rm -f $(OBJS) core mrproper: clean @echo "Mr.Proper in action . . ." @rm -f $(PROGRAM) ctags: @echo "Creating CTAGS file . . ." @ctags -txw $(SRCS) $(HEADERS) > CTAGS etags: @echo "Creating TAGS file . . ." @etags -C $(SRCS) $(HEADERS) listsrc: @ls -m $(SRCS) $(HEADERS) | sed 's/,//g' redo: clean all # @endcode # DO NOT DELETE THIS LINE -- make depend depends on it. ../../Detector/include-CORSIKA/COREventHeader.o: ../../Detector/include-CORSIKA/COREventHeader.hxx ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/stdlib.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/features.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/sys/cdefs.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/gnu/stubs.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/sys/types.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/bits/types.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/time.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/endian.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/bits/endian.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/sys/select.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/bits/select.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/bits/sigset.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/sys/sysmacros.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/alloca.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/math.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/bits/huge_val.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/bits/mathdef.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/bits/mathcalls.h ../../Detector/include-CORSIKA/COREventHeader.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/float.h ../../Detector/include-CORSIKA/CORParticle.o: ../../Detector/include-CORSIKA/CORParticle.hxx ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/stdlib.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/features.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/sys/cdefs.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/gnu/stubs.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/sys/types.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/bits/types.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/time.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/endian.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/bits/endian.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/sys/select.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/bits/select.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/bits/sigset.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/sys/sysmacros.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/alloca.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/math.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/bits/huge_val.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/bits/mathdef.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/include/bits/mathcalls.h ../../Detector/include-CORSIKA/CORParticle.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/float.h ../../Detector/include-CORSIKA/CORStatfile.o: ../../Detector/include-CORSIKA/CORStatfile.hxx ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/stdlib.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/features.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/sys/cdefs.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/gnu/stubs.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/sys/types.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/bits/types.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/time.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/endian.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/bits/endian.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/sys/select.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/bits/select.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/bits/sigset.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/sys/sysmacros.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/alloca.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/math.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/bits/huge_val.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/bits/mathdef.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/bits/mathcalls.h ../../Detector/include-CORSIKA/CORStatfile.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/float.h MainFrameSimone.o: MainFrameSimone.hxx MainFrameSimone.o: ../../Detector/include-CORSIKA/COREventHeader.hxx MainFrameSimone.o: /usr/include/stdlib.h /usr/include/features.h MainFrameSimone.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h MainFrameSimone.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h MainFrameSimone.o: /usr/include/sys/types.h /usr/include/bits/types.h MainFrameSimone.o: /usr/include/time.h /usr/include/endian.h MainFrameSimone.o: /usr/include/bits/endian.h /usr/include/sys/select.h MainFrameSimone.o: /usr/include/bits/select.h /usr/include/bits/sigset.h MainFrameSimone.o: /usr/include/sys/sysmacros.h /usr/include/alloca.h MainFrameSimone.o: /usr/include/math.h /usr/include/bits/huge_val.h MainFrameSimone.o: /usr/include/bits/mathdef.h /usr/include/bits/mathcalls.h MainFrameSimone.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/float.h MainFrameSimone.o: ../../Detector/include-CORSIKA/CORParticle.hxx simone.o: /usr/include/stdlib.h /usr/include/features.h simone.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h simone.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h simone.o: /usr/include/sys/types.h /usr/include/bits/types.h simone.o: /usr/include/time.h /usr/include/endian.h simone.o: /usr/include/bits/endian.h /usr/include/sys/select.h simone.o: /usr/include/bits/select.h /usr/include/bits/sigset.h simone.o: /usr/include/sys/sysmacros.h /usr/include/alloca.h simone.o: MainFrameSimone.hxx simone.o: ../../Detector/include-CORSIKA/COREventHeader.hxx simone.o: /usr/include/math.h /usr/include/bits/huge_val.h simone.o: /usr/include/bits/mathdef.h /usr/include/bits/mathcalls.h simone.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/float.h simone.o: ../../Detector/include-CORSIKA/CORParticle.hxx