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

Last change on this file since 859 was 738, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 1.3 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) $(CINT)Cint.o
7 @echo " - Building Library $(LIB) ... "
8 $(AR) $(LIB) *.o
9
10$(CINT)Cint.cc: $(HEADERS)
11 @echo
12 @echo " - Generating dictionary $(CINT)Cint.cc ..."
13
14 $(ROOTSYS)/bin/rootcint -f $(CINT)Cint.cc \
15 -c $(INCLUDES) $(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 -rf *Cint.*
35
36rmobjs:
37 @echo "Removing object files..."
38 @rm -f *.o
39 @rm -f base/*.o
40 @rm -f gui/*.o
41 @rm -f candrv/*.o
42 @rm -f devdrv/*.o
43 @rm -f slalib/*.o
44
45rmcore:
46 @echo "Removing core files..."
47 @rm -rf core*
48
49rmbin:
50 @echo "Removing binary files..."
51 @rm -rf $(PROGRAMS) so_locations
52
53rmbak:
54 @echo "Removing backup files..."
55 @rm -f *~ kk.kk *.bak
56 @rm -f base/*~ base/kk.kk base/*.bak
57 @rm -f gui/*~ gui/kk.kk gui/*.bak
58 @rm -f candrv/*~ candrv/kk.kk candrv/*.bak
59 @rm -f devdrv/*~ devdrv/kk.kk devdrv/*.bak
60 @rm -f slalib/*~ slalib/kk.kk slalib/*.bak
61
62cflags:
63 @echo $(INCLUDES) $(CXXFLAGS)
64
65
Note: See TracBrowser for help on using the repository browser.