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 | arb_error.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
34 | arb_error.o: $(ARBHOME)/INCLUDE/arb_core.h |
---|
35 | arb_error.o: $(ARBHOME)/INCLUDE/arb_error.h |
---|
36 | arb_error.o: $(ARBHOME)/INCLUDE/arb_msg.h |
---|
37 | arb_error.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
38 | arb_error.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
39 | arb_error.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
40 | arb_error.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
41 | arb_error.o: $(ARBHOME)/INCLUDE/ErrorOrType.h |
---|
42 | arb_error.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
43 | arb_error.o: $(ARBHOME)/INCLUDE/smartptr.h |
---|
44 | arb_error.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
45 | arb_error.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|
46 | |
---|
47 | cache.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
48 | cache.o: $(ARBHOME)/INCLUDE/arb_core.h |
---|
49 | cache.o: $(ARBHOME)/INCLUDE/arb_mem.h |
---|
50 | cache.o: $(ARBHOME)/INCLUDE/arb_string.h |
---|
51 | cache.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
52 | cache.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
53 | cache.o: $(ARBHOME)/INCLUDE/cache.h |
---|
54 | cache.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
55 | cache.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
56 | cache.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
57 | cache.o: $(ARBHOME)/INCLUDE/smartptr.h |
---|
58 | cache.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
59 | cache.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|
60 | |
---|
61 | tiny.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
62 | tiny.o: $(ARBHOME)/INCLUDE/arb_core.h |
---|
63 | tiny.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
64 | tiny.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
65 | tiny.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
66 | tiny.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
67 | tiny.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
68 | tiny.o: $(ARBHOME)/INCLUDE/stringize.h |
---|
69 | tiny.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
70 | tiny.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|