| 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 | proto: |
|---|
| 14 | ../../AISC_MKPTPS/aisc_mkpt -P -w insdel.h insdel.cxx >insdel.h.tmp |
|---|
| 15 | ../../SOURCE_TOOLS/mv_if_diff insdel.h.tmp insdel.h |
|---|
| 16 | |
|---|
| 17 | clean: |
|---|
| 18 | rm -f $(OBJECTS) *.a |
|---|
| 19 | |
|---|
| 20 | DEPENDS = $(OBJECTS:.o=.depend) |
|---|
| 21 | depends: $(DEPENDS) |
|---|
| 22 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
|---|
| 23 | @rm $(DEPENDS) |
|---|
| 24 | $(DEPENDS): depend.init |
|---|
| 25 | depend.init: |
|---|
| 26 | $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
|---|
| 27 | .c.depend: |
|---|
| 28 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
|---|
| 29 | .cxx.depend: |
|---|
| 30 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
|---|
| 31 | |
|---|
| 32 | # DO NOT DELETE |
|---|
| 33 | |
|---|
| 34 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
|---|
| 35 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl (from SL) |
|---|
| 36 | |
|---|
| 37 | insdel.o: insdel.h |
|---|
| 38 | insdel.o: $(ARBHOME)/INCLUDE/ad_prot.h |
|---|
| 39 | insdel.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
|---|
| 40 | insdel.o: $(ARBHOME)/INCLUDE/adGene.h |
|---|
| 41 | insdel.o: $(ARBHOME)/INCLUDE/arb_assert.h |
|---|
| 42 | insdel.o: $(ARBHOME)/INCLUDE/arb_core.h |
|---|
| 43 | insdel.o: $(ARBHOME)/INCLUDE/arb_defs.h |
|---|
| 44 | insdel.o: $(ARBHOME)/INCLUDE/arb_diff.h |
|---|
| 45 | insdel.o: $(ARBHOME)/INCLUDE/arb_error.h |
|---|
| 46 | insdel.o: $(ARBHOME)/INCLUDE/arb_mem.h |
|---|
| 47 | insdel.o: $(ARBHOME)/INCLUDE/arb_msg.h |
|---|
| 48 | insdel.o: $(ARBHOME)/INCLUDE/arb_progress.h |
|---|
| 49 | insdel.o: $(ARBHOME)/INCLUDE/arb_string.h |
|---|
| 50 | insdel.o: $(ARBHOME)/INCLUDE/arb_unit_test.h |
|---|
| 51 | insdel.o: $(ARBHOME)/INCLUDE/arbdb.h |
|---|
| 52 | insdel.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
|---|
| 53 | insdel.o: $(ARBHOME)/INCLUDE/arbdbt.h |
|---|
| 54 | insdel.o: $(ARBHOME)/INCLUDE/arbtools.h |
|---|
| 55 | insdel.o: $(ARBHOME)/INCLUDE/attributes.h |
|---|
| 56 | insdel.o: $(ARBHOME)/INCLUDE/cxxforward.h |
|---|
| 57 | insdel.o: $(ARBHOME)/INCLUDE/downcast.h |
|---|
| 58 | insdel.o: $(ARBHOME)/INCLUDE/dupstr.h |
|---|
| 59 | insdel.o: $(ARBHOME)/INCLUDE/gccver.h |
|---|
| 60 | insdel.o: $(ARBHOME)/INCLUDE/pos_range.h |
|---|
| 61 | insdel.o: $(ARBHOME)/INCLUDE/RangeList.h |
|---|
| 62 | insdel.o: $(ARBHOME)/INCLUDE/smartptr.h |
|---|
| 63 | insdel.o: $(ARBHOME)/INCLUDE/static_assert.h |
|---|
| 64 | insdel.o: $(ARBHOME)/INCLUDE/test_global.h |
|---|
| 65 | insdel.o: $(ARBHOME)/INCLUDE/test_unit.h |
|---|