Changeset 665 for trunk/MagicSoft/Mars/meventdisp
- Timestamp:
- 03/02/01 12:09:07 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/meventdisp/Makefile
r586 r665 1 ################################################################# 1 ################################################################## 2 2 # 3 3 # makefile … … 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 = EvtDisp 21 15 22 # @code 23 16 # 17 # Library name to creatre 18 # 24 19 LIB = meventdisp.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 30 SRCFILES = MGFadcDisp.cc 55 56 31 57 32 SRCS = $(SRCFILES) … … 63 38 all: $(LIB) 64 39 65 depend: 66 @makedepend $(SRCS) $(INCLUDES) $(ROOTCFLAGS) \ 67 -f../Makefile.depend 2> kk.kk ; cat kk.kk 40 include ../Makefile.rules 68 41 69 $(LIB): $(OBJS) EvtDispCint.o 70 @echo " - Building Library $(LIB) ... " 71 $(AR) $(LIB) *.o 42 clean: rmlib rmcint rmobjs rmcore rmbin 72 43 73 EvtDispCint.cc: $(HEADERS) 74 @echo 75 @echo " - Generating dictionary EvtDispCint.cc ..." 76 77 $(ROOTSYS)/bin/rootcint -f EvtDispCint.cc \ 78 -c $(INCLUDES) $(HEADERS) EvtDispIncl.h EvtDispLinkDef.h 79 80 .cxx.o: 81 @echo " - Compiling " $< 82 $(CXX) $(CXXFLAGS) -c $< -o $@ 83 84 .cc.o: 85 @echo " - Compiling " $< 86 $(CXX) $(CXXFLAGS) -c $< -o $@ 87 88 .c.o: 89 @echo " - Compiling " $< 90 $(CC) $(CFLAGS) -c $< -o $@ 91 92 # 93 # The cleaning facility 94 # 95 96 rmlib: 97 @echo "Removing libraries..." 98 @rm -f lib*.a 99 100 rmcint: 101 @echo "Removing cint-stuff..." 102 @rm -f EvtDispCint.* 103 104 rmobjs: 105 @echo "Removing object files..." 106 @rm -f *.o 107 108 rmbin: 109 @echo "Removing binary files..." 110 @rm -f core 111 112 113 clean: rmlib rmcint rmobjs rmbin 114 115 mrproper: clean 116 @echo "Removing *~ kk.kk html/..." 117 @rm -f *~ kk.kk 118 119 cflags: 120 @echo $(INCLUDES) $(CXXFLAGS) 44 mrproper: clean rmbak 121 45 122 46 # @endcode
Note:
See TracChangeset
for help on using the changeset viewer.