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

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