- Timestamp:
- 02/06/04 17:44:49 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/Makefile.rules
r2344 r3045 1 include $(CINT)Dep.d 1 2 2 depend: 3 @makedepend $(SRCS) $(INCLUDES) -I$(INCLUDE_CPLUS) $(ROOTCFLAGS) \ 4 -f Makefile.depend 2> kk.kk ; cat kk.kk 5 6 $(LIB): $(OBJS) $(HEADERS) $(CINT)Cint.o 3 $(LIB): $(OBJS) $(CINT)Cint.o 7 4 @echo " - Building Library lib$(LIB)" 8 5 $(AR) $(LIB) *.o 9 6 @echo " " 10 7 11 $(CINT)Cint.cc: $(HEADERS) 8 $(CINT)Cint.cc: $(HEADERS) $(CINT)LinkDef.h 12 9 @echo " - Generating dictionary $(CINT)Cint.cc" 13 10 … … 15 12 -c $(INCLUDES) $(DEFINES) $(HEADERS) $(CINT)Incl.h $(CINT)LinkDef.h 16 13 17 .cxx.o: 14 %.d: 15 @echo " - Generating dependencies" $@ 16 $(ROOTSYS)/bin/rmkdepend -f- -Y -w 3000 -- $(INCLUDES) -- $(SRCFILES) 2> /dev/null | \ 17 sed 's/^\(.*\).o:/$@ \1.o:/' > $@ 18 echo "$@: Makefile" >> $@ 19 20 %.o: %.cxx 18 21 @echo " - Compiling" $< 19 22 $(CXX) $(CXXFLAGS) -c $< -o $@ 20 23 21 .cc.o: 24 %.o: %.cc 22 25 @echo " - Compiling" $< 23 26 $(CXX) $(CXXFLAGS) -c $< -o $@ 24 27 25 .c.o: 28 %.o: %.c 26 29 @echo " - Compiling" $< 27 30 $(CC) $(CFLAGS) -c $< -o $@ 31 28 32 # 29 33 # The cleaning facility … … 43 47 @rm -f *.o 44 48 49 rmdep: 50 @echo " Removing dependency file..." 51 @rm -f *Dep.d 52 45 53 rmcore: 46 54 @echo " Removing core files..." … … 49 57 rmbin: 50 58 @echo " Removing binary files..." 51 @rm -f $(PROGRAMS) lib/$(SOLIB) so_locations59 @rm -f $(PROGRAMS) $(SOLIB) so_locations 52 60 53 61 rmbak: … … 65 73 ls htmldoc/* | grep "htmldoc/" | grep -v images | grep -v CVS | xargs rm -f 66 74 75 clean: rmcint rmobjs rmdep rmcore rmlib 76 67 77 cflags: 68 78 @echo $(INCLUDES) $(CXXFLAGS)
Note:
See TracChangeset
for help on using the changeset viewer.