source: trunk/ISLAND_HOPPING/Makefile

Last change on this file was 19448, checked in by westram, 16 months ago
  • enable + fix warnings in ISLAND_HOPPING.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1# for variables passed from parent makefile see ../SOURCE_TOOLS/parent_make.txt
2.SUFFIXES: .o .cxx .depend
3
4# --------------------------------------------------------------------------------
5# modify cflags
6
7LOCAL_DEFINES=-DSIMPLE_ARB_ASSERT
8
9LOCAL_MAKEDEPENDFLAGS=$(MAKEDEPENDFLAGS) $(LOCAL_DEFINES)
10LOCAL_CFLAGS:=$(cflags) $(LOCAL_DEFINES)
11
12# --------------------------------------------------------------------------------
13
14
15OBJECTS = $(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
22clean:
23        rm -f $(OBJECTS) *.a
24
25DEPENDS = $(OBJECTS:.o=.depend)
26depends: $(DEPENDS)
27        @cat $(DEPENDS) | grep -v '^#' >>Makefile
28        @rm $(DEPENDS)
29$(DEPENDS): depend.init
30depend.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
42align.o: defs.h
43align.o: i-hopper.h
44align.o: mem.h
45align.o: trnsprob.h
46align.o: $(ARBHOME)/INCLUDE/cxxforward.h
47align.o: $(ARBHOME)/INCLUDE/gccver.h
48
49i-hopper.o: defs.h
50i-hopper.o: i-hopper.h
51i-hopper.o: mem.h
52
53island_hopping.o: defs.h
54island_hopping.o: i-hopper.h
55island_hopping.o: island_hopping.h
56island_hopping.o: mem.h
57island_hopping.o: $(ARBHOME)/INCLUDE/arb_assert.h
58island_hopping.o: $(ARBHOME)/INCLUDE/arb_core.h
59island_hopping.o: $(ARBHOME)/INCLUDE/arbtools.h
60island_hopping.o: $(ARBHOME)/INCLUDE/attributes.h
61island_hopping.o: $(ARBHOME)/INCLUDE/cxxforward.h
62island_hopping.o: $(ARBHOME)/INCLUDE/dupstr.h
63island_hopping.o: $(ARBHOME)/INCLUDE/gccver.h
64island_hopping.o: $(ARBHOME)/INCLUDE/pos_range.h
65island_hopping.o: $(ARBHOME)/INCLUDE/test_global.h
66
67mem.o: mem.h
68mem.o: $(ARBHOME)/INCLUDE/attributes.h
69mem.o: $(ARBHOME)/INCLUDE/cxxforward.h
70mem.o: $(ARBHOME)/INCLUDE/gccver.h
71
72trnsprob.o: defs.h
73trnsprob.o: mem.h
74trnsprob.o: trnsprob.h
75trnsprob.o: $(ARBHOME)/INCLUDE/arb_assert.h
76trnsprob.o: $(ARBHOME)/INCLUDE/arb_simple_assert.h
77trnsprob.o: $(ARBHOME)/INCLUDE/cxxforward.h
78trnsprob.o: $(ARBHOME)/INCLUDE/gccver.h
79trnsprob.o: $(ARBHOME)/INCLUDE/test_global.h
Note: See TracBrowser for help on using the repository browser.