| 1 | OBJECT= main.o fconv.o mg.o genbank.o macke.o phylip.o paup.o \ |
|---|
| 2 | util.o date.o embl.o gcg.o printable.o alma.o \ |
|---|
| 3 | routines.o convert.o |
|---|
| 4 | |
|---|
| 5 | .SUFFIXES: .o .c .cxx .depend |
|---|
| 6 | |
|---|
| 7 | BINARY=$(ARBHOME)/bin/arb_convert_aln |
|---|
| 8 | |
|---|
| 9 | $(BINARY): $(OBJECT) |
|---|
| 10 | $(LINK_EXECUTABLE) $@ $(OBJECT) ../SL/FILE_BUFFER/FILE_BUFFER.a $(LIBPATH) -lARBDB |
|---|
| 11 | |
|---|
| 12 | .c.o: |
|---|
| 13 | $(ACC) $(cflags) -Wstrict-prototypes -c $< $(AINCLUDES) $(POST_COMPILE) |
|---|
| 14 | |
|---|
| 15 | proto: |
|---|
| 16 | ../MAKEBIN/aisc_mkpt -C -w prototypes.h $(OBJECT:.o=.c) >prototypes.h.tmp |
|---|
| 17 | ../SOURCE_TOOLS/mv_if_diff prototypes.h.tmp prototypes.h |
|---|
| 18 | |
|---|
| 19 | clean: |
|---|
| 20 | rm -f $(OBJECT) $(BINARY) |
|---|
| 21 | |
|---|
| 22 | #depend: |
|---|
| 23 | # $(MAKEDEPEND) $(OBJECT:.o=.c*) |
|---|
| 24 | |
|---|
| 25 | DEPENDS = $(OBJECT:.o=.depend) |
|---|
| 26 | depends: $(DEPENDS) |
|---|
| 27 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
|---|
| 28 | @rm $(DEPENDS) |
|---|
| 29 | $(DEPENDS): depend.init |
|---|
| 30 | depend.init: |
|---|
| 31 | $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
|---|
| 32 | .c.depend: |
|---|
| 33 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
|---|
| 34 | .cxx.depend: |
|---|
| 35 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
|---|
| 36 | |
|---|
| 37 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
|---|
| 38 | |
|---|
| 39 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
|---|
| 40 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl |
|---|
| 41 | |
|---|
| 42 | alma.o: convert.h |
|---|
| 43 | alma.o: global.h |
|---|
| 44 | alma.o: prototypes.h |
|---|
| 45 | alma.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|
| 46 | |
|---|
| 47 | convert.o: convert.h |
|---|
| 48 | convert.o: global.h |
|---|
| 49 | convert.o: prototypes.h |
|---|
| 50 | convert.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|
| 51 | |
|---|
| 52 | date.o: convert.h |
|---|
| 53 | date.o: global.h |
|---|
| 54 | date.o: prototypes.h |
|---|
| 55 | date.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|
| 56 | |
|---|
| 57 | embl.o: convert.h |
|---|
| 58 | embl.o: global.h |
|---|
| 59 | embl.o: prototypes.h |
|---|
| 60 | embl.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|
| 61 | |
|---|
| 62 | fconv.o: convert.h |
|---|
| 63 | fconv.o: global.h |
|---|
| 64 | fconv.o: prototypes.h |
|---|
| 65 | fconv.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|
| 66 | |
|---|
| 67 | gcg.o: convert.h |
|---|
| 68 | gcg.o: global.h |
|---|
| 69 | gcg.o: prototypes.h |
|---|
| 70 | gcg.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|
| 71 | |
|---|
| 72 | genbank.o: convert.h |
|---|
| 73 | genbank.o: global.h |
|---|
| 74 | genbank.o: prototypes.h |
|---|
| 75 | genbank.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|
| 76 | |
|---|
| 77 | macke.o: convert.h |
|---|
| 78 | macke.o: global.h |
|---|
| 79 | macke.o: prototypes.h |
|---|
| 80 | macke.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|
| 81 | |
|---|
| 82 | main.o: convert.h |
|---|
| 83 | main.o: global.h |
|---|
| 84 | main.o: prototypes.h |
|---|
| 85 | main.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|
| 86 | |
|---|
| 87 | mg.o: convert.h |
|---|
| 88 | mg.o: global.h |
|---|
| 89 | mg.o: prototypes.h |
|---|
| 90 | mg.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|
| 91 | |
|---|
| 92 | paup.o: convert.h |
|---|
| 93 | paup.o: global.h |
|---|
| 94 | paup.o: prototypes.h |
|---|
| 95 | paup.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|
| 96 | |
|---|
| 97 | phylip.o: convert.h |
|---|
| 98 | phylip.o: global.h |
|---|
| 99 | phylip.o: prototypes.h |
|---|
| 100 | phylip.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|
| 101 | |
|---|
| 102 | printable.o: convert.h |
|---|
| 103 | printable.o: global.h |
|---|
| 104 | printable.o: prototypes.h |
|---|
| 105 | printable.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|
| 106 | |
|---|
| 107 | routines.o: convert.h |
|---|
| 108 | routines.o: global.h |
|---|
| 109 | routines.o: prototypes.h |
|---|
| 110 | routines.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|
| 111 | |
|---|
| 112 | util.o: convert.h |
|---|
| 113 | util.o: global.h |
|---|
| 114 | util.o: prototypes.h |
|---|
| 115 | util.o: $(ARBHOME)/INCLUDE/FileBuffer.h |
|---|