1 | # for variables passed from parent makefile see ../SOURCE_TOOLS/parent_make.txt |
---|
2 | .SUFFIXES: .o .cxx .depend |
---|
3 | |
---|
4 | # -------------------------------------------------------------------------------- |
---|
5 | # modify cflags |
---|
6 | |
---|
7 | LOCAL_DEFINES=-DSIMPLE_ARB_ASSERT |
---|
8 | |
---|
9 | LOCAL_MAKEDEPENDFLAGS=$(MAKEDEPENDFLAGS) $(LOCAL_DEFINES) |
---|
10 | LOCAL_CFLAGS:=$(cflags) $(LOCAL_DEFINES) |
---|
11 | |
---|
12 | # -------------------------------------------------------------------------------- |
---|
13 | |
---|
14 | |
---|
15 | OBJECTS = $(subst .cxx,.o,$(wildcard *.cxx)) |
---|
16 | |
---|
17 | $(MAIN): $(OBJECTS) |
---|
18 | $(LINK_STATIC_LIB) $(MAIN) $(OBJECTS) |
---|
19 | .cxx.o: |
---|
20 | $(A_CXX) $(LOCAL_CFLAGS) $(cxxflags) -DARB -c $< $(CXX_INCLUDES) $(POST_COMPILE) $< |
---|
21 | |
---|
22 | clean: |
---|
23 | rm -f $(OBJECTS) *.a |
---|
24 | |
---|
25 | DEPENDS = $(OBJECTS:.o=.depend) |
---|
26 | depends: $(DEPENDS) |
---|
27 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
---|
28 | @rm $(DEPENDS) |
---|
29 | $(DEPENDS): depend.init |
---|
30 | depend.init: |
---|
31 | $(MAKEDEPEND) $(LOCAL_MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
---|
32 | .c.depend: |
---|
33 | $(MAKEDEPEND) -f- $(LOCAL_MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
34 | .cxx.depend: |
---|
35 | $(MAKEDEPEND) -f- $(LOCAL_MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
36 | |
---|
37 | # DO NOT DELETE |
---|
38 | |
---|
39 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
---|
40 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl (from main) |
---|
41 | |
---|
42 | align.o: defs.h |
---|
43 | align.o: i-hopper.h |
---|
44 | align.o: mem.h |
---|
45 | align.o: trnsprob.h |
---|
46 | align.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
47 | align.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
48 | |
---|
49 | i-hopper.o: defs.h |
---|
50 | i-hopper.o: i-hopper.h |
---|
51 | i-hopper.o: mem.h |
---|
52 | |
---|
53 | island_hopping.o: defs.h |
---|
54 | island_hopping.o: i-hopper.h |
---|
55 | island_hopping.o: island_hopping.h |
---|
56 | island_hopping.o: mem.h |
---|
57 | island_hopping.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
58 | island_hopping.o: $(ARBHOME)/INCLUDE/arb_core.h |
---|
59 | island_hopping.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
60 | island_hopping.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
61 | island_hopping.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
62 | island_hopping.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
63 | island_hopping.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
64 | island_hopping.o: $(ARBHOME)/INCLUDE/pos_range.h |
---|
65 | island_hopping.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
66 | |
---|
67 | mem.o: mem.h |
---|
68 | mem.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
69 | mem.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
70 | mem.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
71 | |
---|
72 | trnsprob.o: defs.h |
---|
73 | trnsprob.o: mem.h |
---|
74 | trnsprob.o: trnsprob.h |
---|
75 | trnsprob.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
76 | trnsprob.o: $(ARBHOME)/INCLUDE/arb_simple_assert.h |
---|
77 | trnsprob.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
78 | trnsprob.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
79 | trnsprob.o: $(ARBHOME)/INCLUDE/test_global.h |
---|