Changeset 665 for trunk/MagicSoft/Mars/mdatacheck/Makefile
- Timestamp:
- 03/02/01 12:09:07 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mdatacheck/Makefile
r546 r665 6 6 # 7 7 ################################################################## 8 # @maintitle9 10 # @code11 12 #13 # please change all system depend values in the14 # config.mk.${OSTYPE} file15 #16 #17 8 include ../Makefile.conf.$(OSTYPE) 18 9 include ../Makefile.conf.general 19 10 20 # @endcode 11 # 12 # Handling name of the Root Dictionary Files 13 # 14 CINT = DataCheck 21 15 22 # @code 23 16 # 17 # Library name to creatre 18 # 24 19 LIB = mdatacheck.a 25 20 … … 27 22 # connect the include files defined in the config.mk file 28 23 # 29 INCLUDES = -I. -I../ -I../mbase -I../mraw 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) 24 INCLUDES = -I. -I../mbase -I../mraw 46 25 47 26 #------------------------------------------------------------------------------ 48 27 49 #.SILENT:50 51 28 .SUFFIXES: .c .cc .cxx .h .hxx .o 52 29 53 54 SRCFILES = MViewAdcSpectra.cc \ 30 SRCFILES = MDumpEvtHeader.cc \ 55 31 MFillAdcSpect.cc \ 56 MDumpEvtHeader.cc \ 32 MGDisplayAdc.cc \ 33 MHistosAdc.cc \ 57 34 MShowSpect.cc \ 58 MHistosAdc.cc \ 59 MGDisplayAdc.cc 35 MViewAdcSpectra.cc 60 36 61 37 SRCS = $(SRCFILES) … … 67 43 all: $(LIB) 68 44 69 depend: 70 @makedepend $(SRCS) $(INCLUDES) $(ROOTCFLAGS) \ 71 -f../Makefile.depend 2> kk.kk ; cat kk.kk 45 include ../Makefile.rules 72 46 73 $(LIB): $(OBJS) DataCheckCint.o 74 @echo " - Building Library $(LIB) ... " 75 $(AR) $(LIB) *.o 47 clean: rmlib rmcint rmobjs rmcore rmbin 76 48 77 DataCheckCint.cc: $(HEADERS) 78 @echo 79 @echo " - Generating dictionary DataCheckCint.cc ..." 80 81 $(ROOTSYS)/bin/rootcint -f DataCheckCint.cc \ 82 -c $(INCLUDES) $(HEADERS) DataCheckIncl.h DataCheckLinkDef.h 83 84 .cxx.o: 85 @echo " - Compiling " $< 86 $(CXX) $(CXXFLAGS) -c $< -o $@ 87 88 .cc.o: 89 @echo " - Compiling " $< 90 $(CXX) $(CXXFLAGS) -c $< -o $@ 91 92 .c.o: 93 @echo " - Compiling " $< 94 $(CC) $(CFLAGS) -c $< -o $@ 95 96 # 97 # The cleaning facility 98 # 99 100 rmlib: 101 @echo "Removing libraries..." 102 @rm -f lib*.a 103 104 rmcint: 105 @echo "Removing cint-stuff..." 106 @rm -f DataCheckCint.* 107 108 rmobjs: 109 @echo "Removing object files..." 110 @rm -f *.o 111 112 rmbin: 113 @echo "Removing binary files..." 114 @rm -f core 115 116 117 clean: rmlib rmcint rmobjs rmbin 118 119 mrproper: clean 120 @echo "Removing *~ kk.kk html/..." 121 @rm -f *~ kk.kk 122 123 cflags: 124 @echo $(INCLUDES) $(CXXFLAGS) 49 mrproper: clean rmbak 125 50 126 51 # @endcode
Note:
See TracChangeset
for help on using the changeset viewer.