Last change
on this file was
19450,
checked in by westram, 17 months 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
|
Line | |
---|
1 | .SUFFIXES: .o .c .depend |
---|
2 | |
---|
3 | OBJECT = readseq.o ureadseq.o |
---|
4 | |
---|
5 | BINARY=$(ARBHOME)/bin/arb_readseq |
---|
6 | |
---|
7 | ifeq ($(DEBIAN),1) |
---|
8 | all: |
---|
9 | @echo Do not compile readseq. Instead use the Debian package. |
---|
10 | else |
---|
11 | all: $(BINARY) |
---|
12 | endif |
---|
13 | |
---|
14 | # -------------------------------------------------------------------------------- |
---|
15 | |
---|
16 | # no warnings in this directory |
---|
17 | subcflags:=$(cflags) $(onlyC_flags) |
---|
18 | |
---|
19 | |
---|
20 | $(BINARY): $(OBJECT) |
---|
21 | $(A_CC) $(subcflags) -o $@ $(OBJECT) |
---|
22 | |
---|
23 | .c.o: |
---|
24 | $(A_CC) $(subcflags) -c $< $(CC_INCLUDES) $(POST_COMPILE) $< |
---|
25 | |
---|
26 | clean: |
---|
27 | rm -f $(OBJECT) $(BINARY) |
---|
28 | |
---|
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 >$@ |
---|
40 | |
---|
41 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
---|
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 | |
---|
46 | readseq.o: ureadseq.h |
---|
47 | readseq.o: $(ARBHOME)/INCLUDE/gets_noOverflow.h |
---|
48 | |
---|
49 | ureadseq.o: ureadseq.h |
---|
Note: See
TracBrowser
for help on using the repository browser.