source: tags/Mars-V0.5/Makefile.rules@ 19594

Last change on this file since 19594 was 1003, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 1.0 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
10$(CINT)Cint.cc: $(HEADERS)
11 @echo " - Generating dictionary $(CINT)Cint.cc"
12
13 $(ROOTSYS)/bin/rootcint -f $(CINT)Cint.cc \
14 -c $(INCLUDES) $(DEFINES) $(HEADERS) $(CINT)Incl.h $(CINT)LinkDef.h
15
16.cxx.o:
17 @echo " - Compiling" $<
18 $(CXX) $(CXXFLAGS) -c $< -o $@
19
20.cc.o:
21 @echo " - Compiling" $<
22 $(CXX) $(CXXFLAGS) -c $< -o $@
23
24.c.o:
25 @echo " - Compiling" $<
26 $(CC) $(CFLAGS) -c $< -o $@
27#
28# The cleaning facility
29#
30
31rmcint:
32 @echo "Removing cint-stuff..."
33 @rm -f *Cint.*
34
35rmlib:
36 @echo "Removing libraries..."
37 @rm -f lib/lib*.a lib*.a
38
39rmobjs:
40 @echo "Removing object files..."
41 @rm -f *.o
42
43rmcore:
44 @echo "Removing core files..."
45 @rm -f core*
46
47rmbin:
48 @echo "Removing binary files..."
49 @rm -f $(PROGRAMS) lib/$(SOLIB) so_locations
50
51rmbak:
52 @echo "Removing backup files..."
53 @rm -f *~ kk.kk *.bak
54
55cflags:
56 @echo $(INCLUDES) $(CXXFLAGS)
57
58
Note: See TracBrowser for help on using the repository browser.