source: branches/alilink/ISLAND_HOPPING/Makefile

Last change on this file was 16768, checked in by westram, 8 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
RevLine 
[10954]1# for variables passed from parent makefile see ../SOURCE_TOOLS/parent_make.txt
[6815]2.SUFFIXES: .o .c .cxx .depend
[535]3
[8641]4# --------------------------------------------------------------------------------
5# modify cflags
6
7RAISE_WARNINGS=0# no warnings in this subtree
[10148]8LOCAL_DEFINES=-DSIMPLE_ARB_ASSERT
[8641]9
[10148]10LOCAL_MAKEDEPENDFLAGS=$(MAKEDEPENDFLAGS) $(LOCAL_DEFINES)
11LOCAL_CFLAGS:=$(cflags) $(LOCAL_DEFINES)
[8641]12ifeq ('$(RAISE_WARNINGS)','0')
[10148]13LOCAL_CFLAGS:=$(subst -W -Wall,-w,$(LOCAL_CFLAGS))
[8641]14endif
15
16# --------------------------------------------------------------------------------
17
18
[6516]19CPP_OBJECTS = island_hopping.o i-hopper.o align.o mem.o trnsprob.o
[535]20
21$(MAIN): $(CPP_OBJECTS)
[5225]22        $(LINK_STATIC_LIB) $(MAIN) $(CPP_OBJECTS)
[535]23.c.o:
[13998]24        $(A_CC) $(LOCAL_CFLAGS) -DARB -c $<  $(CC_INCLUDES) $(POST_COMPILE) $<
[6815]25.cxx.o:
[13998]26        $(A_CXX) $(LOCAL_CFLAGS) $(cxxflags) -DARB -c $<  $(CXX_INCLUDES) $(POST_COMPILE) $<
[1617]27
[4635]28clean:
29        rm -f $(CPP_OBJECTS) *.a
30
[1617]31DEPENDS = $(CPP_OBJECTS:.o=.depend)
32depends: $(DEPENDS)
33        @cat $(DEPENDS) | grep -v '^#' >>Makefile
34        @rm $(DEPENDS)
35$(DEPENDS): depend.init
36depend.init:
[10148]37        $(MAKEDEPEND) $(LOCAL_MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
[1617]38.c.depend:
[10148]39        $(MAKEDEPEND) -f- $(LOCAL_MAKEDEPENDFLAGS) $< 2>/dev/null >$@
[6815]40.cxx.depend:
[10148]41        $(MAKEDEPEND) -f- $(LOCAL_MAKEDEPENDFLAGS) $< 2>/dev/null >$@
[1617]42
[535]43# DO NOT DELETE
44
[2338]45# Do not add dependencies manually - use 'make depend' in $ARBHOME
[9575]46# For formatting issues see SOURCE_TOOLS/fix_depends.pl (from main)
[1617]47
[2338]48align.o: defs.h
49align.o: i-hopper.h
[6516]50align.o: mem.h
[2338]51align.o: trnsprob.h
[16768]52align.o: $(ARBHOME)/INCLUDE/cxxforward.h
53align.o: $(ARBHOME)/INCLUDE/gccver.h
[1617]54
[2338]55i-hopper.o: defs.h
56i-hopper.o: i-hopper.h
[6516]57i-hopper.o: mem.h
[1617]58
[2338]59island_hopping.o: defs.h
60island_hopping.o: i-hopper.h
61island_hopping.o: island_hopping.h
[6516]62island_hopping.o: mem.h
[2338]63island_hopping.o: $(ARBHOME)/INCLUDE/arb_assert.h
[6814]64island_hopping.o: $(ARBHOME)/INCLUDE/arb_core.h
[7623]65island_hopping.o: $(ARBHOME)/INCLUDE/arbtools.h
[8614]66island_hopping.o: $(ARBHOME)/INCLUDE/attributes.h
[9521]67island_hopping.o: $(ARBHOME)/INCLUDE/cxxforward.h
[6331]68island_hopping.o: $(ARBHOME)/INCLUDE/dupstr.h
[9516]69island_hopping.o: $(ARBHOME)/INCLUDE/gccver.h
[8614]70island_hopping.o: $(ARBHOME)/INCLUDE/pos_range.h
[6817]71island_hopping.o: $(ARBHOME)/INCLUDE/test_global.h
[2338]72
[6516]73mem.o: mem.h
[7338]74mem.o: $(ARBHOME)/INCLUDE/attributes.h
[16768]75mem.o: $(ARBHOME)/INCLUDE/cxxforward.h
[9516]76mem.o: $(ARBHOME)/INCLUDE/gccver.h
[6516]77
[2338]78trnsprob.o: defs.h
[6516]79trnsprob.o: mem.h
[2338]80trnsprob.o: trnsprob.h
[6516]81trnsprob.o: $(ARBHOME)/INCLUDE/arb_assert.h
[10148]82trnsprob.o: $(ARBHOME)/INCLUDE/arb_simple_assert.h
[16577]83trnsprob.o: $(ARBHOME)/INCLUDE/cxxforward.h
84trnsprob.o: $(ARBHOME)/INCLUDE/gccver.h
[6817]85trnsprob.o: $(ARBHOME)/INCLUDE/test_global.h
Note: See TracBrowser for help on using the repository browser.