source: tags/Mars-V0.8.1/Makefile.rules@ 10077

Last change on this file since 10077 was 2122, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.4 KB
Line 
1
2depend:
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
32rmcint:
33 @echo " Removing cint-stuff..."
34 @rm -f *Cint.*
35
36rmlib:
37 @echo " Removing libraries..."
38 @echo " "
39 @rm -f lib/lib*.a lib*.a
40
41rmobjs:
42 @echo " Removing object files..."
43 @rm -f *.o
44
45rmcore:
46 @echo " Removing core files..."
47 @rm -f core*
48
49rmbin:
50 @echo " Removing binary files..."
51 @rm -f $(PROGRAMS) lib/$(SOLIB) so_locations
52
53rmbak:
54 @echo " Removing backup files..."
55 @rm -f *~ kk.kk *.bak .#* .*~
56
57rmbakmac:
58 @echo " Removing backup files in macros"
59 @rm -f macros/*~
60
61rmhtml:
62 @echo " Removing htmldoc-tree"
63 rm -rf htmldoc/examples
64 rm -rf htmldoc/src
65 ls htmldoc/* | grep "htmldoc/" | grep -v images | grep -v CVS | xargs rm -f
66
67cflags:
68 @echo $(INCLUDES) $(CXXFLAGS)
69
70diff:
71 @cvs diff | grep -v "^? " > mars.diff
Note: See TracBrowser for help on using the repository browser.