source: trunk/MagicSoft/Cosy/Makefile.rules@ 1701

Last change on this file since 1701 was 920, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 1.1 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: $(CINTHEADERS)
11 @echo
12 @echo " - Generating dictionary $(CINT)Cint.cc ..."
13
14 $(ROOTSYS)/bin/rootcint -f $(CINT)Cint.cc \
15 -c $(INCLUDES) $(DEFINES) $(CINTHEADERS) $(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 @rm -f lib/lib*.a lib*.a
39
40rmobjs:
41 @echo "Removing object files..."
42 @rm -f *.o
43
44rmcore:
45 @echo "Removing core files..."
46 @rm -f core*
47
48rmbin:
49 @echo "Removing binary files..."
50 @rm -f $(PROGRAMS) so_locations
51
52rmbak:
53 @echo "Removing backup files..."
54 @rm -f *~ kk.kk *.bak
55
56cflags:
57 @echo $(INCLUDES) $(CXXFLAGS)
58
59
Note: See TracBrowser for help on using the repository browser.