Last change
on this file was
19450,
checked in by westram, 2 years ago
|
- keep -W -Wall in READSEQ ⇒ build does fail due to implicit-function-declaration.
- include stdlib.h for missing prototypes ⇒ fixes build error.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.1 KB
|
Rev | Line | |
---|
[18723] | 1 | .SUFFIXES: .o .c .depend |
---|
[4635] | 2 | |
---|
[2] | 3 | OBJECT = readseq.o ureadseq.o |
---|
| 4 | |
---|
[4635] | 5 | BINARY=$(ARBHOME)/bin/arb_readseq |
---|
[2] | 6 | |
---|
[11805] | 7 | ifeq ($(DEBIAN),1) |
---|
[344] | 8 | all: |
---|
| 9 | @echo Do not compile readseq. Instead use the Debian package. |
---|
[1450] | 10 | else |
---|
[4635] | 11 | all: $(BINARY) |
---|
[344] | 12 | endif |
---|
[2] | 13 | |
---|
[1450] | 14 | # -------------------------------------------------------------------------------- |
---|
| 15 | |
---|
| 16 | # no warnings in this directory |
---|
[19450] | 17 | subcflags:=$(cflags) $(onlyC_flags) |
---|
[1450] | 18 | |
---|
| 19 | |
---|
[4635] | 20 | $(BINARY): $(OBJECT) |
---|
[10955] | 21 | $(A_CC) $(subcflags) -o $@ $(OBJECT) |
---|
[2] | 22 | |
---|
| 23 | .c.o: |
---|
[13443] | 24 | $(A_CC) $(subcflags) -c $< $(CC_INCLUDES) $(POST_COMPILE) $< |
---|
[2] | 25 | |
---|
[4635] | 26 | clean: |
---|
[18729] | 27 | rm -f $(OBJECT) $(BINARY) |
---|
[4635] | 28 | |
---|
[1617] | 29 | DEPENDS = $(OBJECT:.o=.depend) |
---|
| 30 | depends: $(DEPENDS) |
---|
| 31 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
---|
| 32 | @rm $(DEPENDS) |
---|
| 33 | $(DEPENDS): depend.init |
---|
| 34 | depend.init: |
---|
| 35 | $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
---|
| 36 | .c.depend: |
---|
| 37 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
| 38 | .cxx.depend: |
---|
| 39 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
[2] | 40 | |
---|
| 41 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
---|
| 42 | |
---|
[2338] | 43 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
---|
[9575] | 44 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl (from main) |
---|
[2338] | 45 | |
---|
[1617] | 46 | readseq.o: ureadseq.h |
---|
[19443] | 47 | readseq.o: $(ARBHOME)/INCLUDE/gets_noOverflow.h |
---|
[1617] | 48 | |
---|
| 49 | ureadseq.o: ureadseq.h |
---|
Note: See
TracBrowser
for help on using the repository browser.