Line | |
---|
1 |
|
---|
2 | $(LIB): $(OBJS) $(HEADERS) $(CINT)Cint.o
|
---|
3 | @echo " - Building Library lib$(LIB)"
|
---|
4 | $(AR) $(LIB) *.o
|
---|
5 | @echo " "
|
---|
6 |
|
---|
7 | $(CINT)Cint.cc: $(HEADERS)
|
---|
8 | @echo " - Generating dictionary $(CINT)Cint.cc"
|
---|
9 |
|
---|
10 | $(ROOTSYS)/bin/rootcint -f $(CINT)Cint.cc \
|
---|
11 | -c $(INCLUDES) $(DEFINES) $(HEADERS) $(CINT)Incl.h $(CINT)LinkDef.h
|
---|
12 |
|
---|
13 | .cxx.o:
|
---|
14 | @echo " - Compiling" $<
|
---|
15 | $(CXX) $(CXXFLAGS) -c $< -o $@
|
---|
16 |
|
---|
17 | .cc.o:
|
---|
18 | @echo " - Compiling" $<
|
---|
19 | $(CXX) $(CXXFLAGS) -c $< -o $@
|
---|
20 |
|
---|
21 | .c.o:
|
---|
22 | @echo " - Compiling" $<
|
---|
23 | $(CC) $(CFLAGS) -c $< -o $@
|
---|
24 |
|
---|
25 | #
|
---|
26 | # The cleaning facility
|
---|
27 | #
|
---|
28 |
|
---|
29 | rmmake:
|
---|
30 | @echo " Removing Makefile.depend"
|
---|
31 | @rm -f Makefile.depend
|
---|
32 |
|
---|
33 | rmcint:
|
---|
34 | @echo " Removing cint-stuff..."
|
---|
35 | @rm -f *Cint.*
|
---|
36 |
|
---|
37 | rmlib:
|
---|
38 | @echo " Removing libraries..."
|
---|
39 | @echo " "
|
---|
40 | @rm -f lib/lib*.a lib*.a
|
---|
41 |
|
---|
42 | rmobjs:
|
---|
43 | @echo " Removing object files..."
|
---|
44 | @rm -f *.o
|
---|
45 |
|
---|
46 | rmcore:
|
---|
47 | @echo " Removing core files..."
|
---|
48 | @rm -f core*
|
---|
49 |
|
---|
50 | rmbin:
|
---|
51 | @echo " Removing binary files..."
|
---|
52 | @rm -f $(PROGRAMS) lib/$(SOLIB) so_locations
|
---|
53 |
|
---|
54 | rmbak:
|
---|
55 | @echo " Removing backup files..."
|
---|
56 | @rm -f *~ kk.kk *.bak .#* .*~
|
---|
57 |
|
---|
58 | rmbakmac:
|
---|
59 | @echo " Removing backup files in macros"
|
---|
60 | @rm -f macros/*~
|
---|
61 |
|
---|
62 | rmhtml:
|
---|
63 | @echo " Removing htmldoc-tree"
|
---|
64 | rm -rf htmldoc/examples
|
---|
65 | rm -rf htmldoc/src
|
---|
66 | ls htmldoc/* | grep "htmldoc/" | grep -v images | grep -v CVS | xargs rm -f
|
---|
67 |
|
---|
68 | cflags:
|
---|
69 | @echo $(INCLUDES) $(CXXFLAGS)
|
---|
70 |
|
---|
71 | diff:
|
---|
72 | @cvs diff | grep -v "^? " > mars.diff
|
---|
Note:
See
TracBrowser
for help on using the repository browser.