1 | # for variables passed from parent makefile see ../../SOURCE_TOOLS/parent_make.txt |
---|
2 | |
---|
3 | .SUFFIXES: .o .cxx .depend |
---|
4 | |
---|
5 | OBJECTS=$(subst .cxx,.o,$(wildcard *.cxx)) |
---|
6 | |
---|
7 | $(MAIN): $(OBJECTS) |
---|
8 | $(LINK_STATIC_LIB) $(MAIN) $(OBJECTS) |
---|
9 | |
---|
10 | .cxx.o: |
---|
11 | $(A_CXX) $(cflags) $(cxxflags) -c $< $(CXX_INCLUDES) $(POST_COMPILE) |
---|
12 | |
---|
13 | clean: |
---|
14 | rm -f $(OBJECTS) *.a |
---|
15 | |
---|
16 | DEPENDS = $(OBJECTS:.o=.depend) |
---|
17 | depends: $(DEPENDS) |
---|
18 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
---|
19 | @rm $(DEPENDS) |
---|
20 | $(DEPENDS): depend.init |
---|
21 | depend.init: |
---|
22 | $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
---|
23 | .c.depend: |
---|
24 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
25 | .cxx.depend: |
---|
26 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
27 | |
---|
28 | # DO NOT DELETE |
---|
29 | |
---|
30 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
---|
31 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl (from SL) |
---|
32 | |
---|
33 | ptclean.o: ptclean.h |
---|
34 | ptclean.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
35 | ptclean.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
---|
36 | ptclean.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
37 | ptclean.o: $(ARBHOME)/INCLUDE/arb_core.h |
---|
38 | ptclean.o: $(ARBHOME)/INCLUDE/arb_diff.h |
---|
39 | ptclean.o: $(ARBHOME)/INCLUDE/arb_error.h |
---|
40 | ptclean.o: $(ARBHOME)/INCLUDE/arb_file.h |
---|
41 | ptclean.o: $(ARBHOME)/INCLUDE/arb_msg.h |
---|
42 | ptclean.o: $(ARBHOME)/INCLUDE/arb_progress.h |
---|
43 | ptclean.o: $(ARBHOME)/INCLUDE/arb_string.h |
---|
44 | ptclean.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
45 | ptclean.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
46 | ptclean.o: $(ARBHOME)/INCLUDE/arbdbt.h |
---|
47 | ptclean.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
48 | ptclean.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
49 | ptclean.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
50 | ptclean.o: $(ARBHOME)/INCLUDE/downcast.h |
---|
51 | ptclean.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
52 | ptclean.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
53 | ptclean.o: $(ARBHOME)/INCLUDE/smartptr.h |
---|
54 | ptclean.o: $(ARBHOME)/INCLUDE/static_assert.h |
---|
55 | ptclean.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
56 | ptclean.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|