Last change
on this file since 1711 was 1156, checked in by blanch, 23 years ago |
Files with rules for Makefile. It is used by Makefiles in Format directories.
It has been added to compile the files shared with MARS using the
same Makefile.
|
-
Property svn:executable
set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 |
|
---|
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
|
---|
7 | @echo " - Building Library lib$(LIB)"
|
---|
8 | $(AR) $(LIB) *.o
|
---|
9 | @echo " "
|
---|
10 |
|
---|
11 | $(CINT)Cint.cc: $(HEADERS)
|
---|
12 | @echo " - Generating dictionary $(CINT)Cint.cc"
|
---|
13 |
|
---|
14 | $(ROOTSYS)/bin/rootcint -f $(CINT)Cint.cc \
|
---|
15 | -c $(INCLUDES) $(DEFINES) $(HEADERS) $(CINT)Incl.h $(CINT)LinkDef.h
|
---|
16 |
|
---|
17 | .cxx.o:
|
---|
18 | @echo " - Compiling" $<
|
---|
19 | $(CXX) $(CXXFLAGS) -c $< -o $@
|
---|
20 |
|
---|
21 | .cc.o:
|
---|
22 | @echo " - Compiling" $<
|
---|
23 | $(CXX) $(CXXFLAGS) -c $< -o $@
|
---|
24 |
|
---|
25 | .c.o:
|
---|
26 | @echo " - Compiling" $<
|
---|
27 | $(CC) $(CFLAGS) -c $< -o $@
|
---|
28 | #
|
---|
29 | # The cleaning facility
|
---|
30 | #
|
---|
31 |
|
---|
32 | rmcint:
|
---|
33 | @echo " Removing cint-stuff..."
|
---|
34 | @rm -f *Cint.*
|
---|
35 |
|
---|
36 | rmlib:
|
---|
37 | @echo " Removing libraries..."
|
---|
38 | @echo " "
|
---|
39 | @rm -f lib/lib*.a lib*.a
|
---|
40 |
|
---|
41 | rmobjs:
|
---|
42 | @echo " Removing object files..."
|
---|
43 | @rm -f *.o
|
---|
44 |
|
---|
45 | rmcore:
|
---|
46 | @echo " Removing core files..."
|
---|
47 | @rm -f core*
|
---|
48 |
|
---|
49 | rmbin:
|
---|
50 | @echo " Removing binary files..."
|
---|
51 | @rm -f $(PROGRAMS) lib/$(SOLIB) so_locations
|
---|
52 |
|
---|
53 | rmbak:
|
---|
54 | @echo " Removing backup files..."
|
---|
55 | @rm -f *~ kk.kk *.bak
|
---|
56 |
|
---|
57 | rmbakmac:
|
---|
58 | @echo " Removing backup files in macros"
|
---|
59 | @rm -f macros/*~
|
---|
60 |
|
---|
61 | rmhtml:
|
---|
62 | @echo " Removing htmldoc-tree"
|
---|
63 | @rm -rf htmldoc
|
---|
64 |
|
---|
65 | cflags:
|
---|
66 | @echo $(INCLUDES) $(CXXFLAGS)
|
---|
67 |
|
---|
68 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.