source: trunk/MagicSoft/Mars/Makefile.rules@ 2486

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