source: branches/help/ISLAND_HOPPING/Makefile

Last change on this file was 18729, checked in by westram, 3 years ago
  • eliminate trailing whitespace from Makefiles.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 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
7RAISE_WARNINGS=0# no warnings in this subtree
8LOCAL_DEFINES=-DSIMPLE_ARB_ASSERT
9
10LOCAL_MAKEDEPENDFLAGS=$(MAKEDEPENDFLAGS) $(LOCAL_DEFINES)
11LOCAL_CFLAGS:=$(cflags) $(LOCAL_DEFINES)
12ifeq ('$(RAISE_WARNINGS)','0')
13LOCAL_CFLAGS:=$(subst -W -Wall,-w,$(LOCAL_CFLAGS))
14endif
15
16# --------------------------------------------------------------------------------
17
18
19OBJECTS = $(subst .cxx,.o,$(wildcard *.cxx))
20
21$(MAIN): $(OBJECTS)
22        $(LINK_STATIC_LIB) $(MAIN) $(OBJECTS)
23.cxx.o:
24        $(A_CXX) $(LOCAL_CFLAGS) $(cxxflags) -DARB -c $<  $(CXX_INCLUDES) $(POST_COMPILE) $<
25
26clean:
27        rm -f $(OBJECTS) *.a
28
29DEPENDS = $(OBJECTS:.o=.depend)
30depends: $(DEPENDS)
31        @cat $(DEPENDS) | grep -v '^#' >>Makefile
32        @rm $(DEPENDS)
33$(DEPENDS): depend.init
34depend.init:
35        $(MAKEDEPEND) $(LOCAL_MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
36.c.depend:
37        $(MAKEDEPEND) -f- $(LOCAL_MAKEDEPENDFLAGS) $< 2>/dev/null >$@
38.cxx.depend:
39        $(MAKEDEPEND) -f- $(LOCAL_MAKEDEPENDFLAGS) $< 2>/dev/null >$@
40
41# DO NOT DELETE
42
43# Do not add dependencies manually - use 'make depend' in $ARBHOME
44# For formatting issues see SOURCE_TOOLS/fix_depends.pl (from main)
45
46align.o: defs.h
47align.o: i-hopper.h
48align.o: mem.h
49align.o: trnsprob.h
50align.o: $(ARBHOME)/INCLUDE/cxxforward.h
51align.o: $(ARBHOME)/INCLUDE/gccver.h
52
53i-hopper.o: defs.h
54i-hopper.o: i-hopper.h
55i-hopper.o: mem.h
56
57island_hopping.o: defs.h
58island_hopping.o: i-hopper.h
59island_hopping.o: island_hopping.h
60island_hopping.o: mem.h
61island_hopping.o: $(ARBHOME)/INCLUDE/arb_assert.h
62island_hopping.o: $(ARBHOME)/INCLUDE/arb_core.h
63island_hopping.o: $(ARBHOME)/INCLUDE/arbtools.h
64island_hopping.o: $(ARBHOME)/INCLUDE/attributes.h
65island_hopping.o: $(ARBHOME)/INCLUDE/cxxforward.h
66island_hopping.o: $(ARBHOME)/INCLUDE/dupstr.h
67island_hopping.o: $(ARBHOME)/INCLUDE/gccver.h
68island_hopping.o: $(ARBHOME)/INCLUDE/pos_range.h
69island_hopping.o: $(ARBHOME)/INCLUDE/test_global.h
70
71mem.o: mem.h
72mem.o: $(ARBHOME)/INCLUDE/attributes.h
73mem.o: $(ARBHOME)/INCLUDE/cxxforward.h
74mem.o: $(ARBHOME)/INCLUDE/gccver.h
75
76trnsprob.o: defs.h
77trnsprob.o: mem.h
78trnsprob.o: trnsprob.h
79trnsprob.o: $(ARBHOME)/INCLUDE/arb_assert.h
80trnsprob.o: $(ARBHOME)/INCLUDE/arb_simple_assert.h
81trnsprob.o: $(ARBHOME)/INCLUDE/cxxforward.h
82trnsprob.o: $(ARBHOME)/INCLUDE/gccver.h
83trnsprob.o: $(ARBHOME)/INCLUDE/test_global.h
Note: See TracBrowser for help on using the repository browser.