File: Makefile

package info (click to toggle)
bio-rainbow 2.0.4+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 560 kB
  • sloc: ansic: 7,475; perl: 172; makefile: 129; sh: 49
file content (54 lines) | stat: -rw-r--r-- 1,851 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)


CC=gcc
CFLAGS+= -W -O2 -Wall -Wno-self-assign -Wno-unused-function
DFLAGS= -D_FILE_OFFSET_BITS=64
GLIBS=-lm
GENERIC_SRC= string.h bitvec.h file_reader.h hashset.h sort.h list.h dna.h heap.h stdaln.h vector.h

.SUFFIXES:.c .o

.c.o:
	$(CC) -c $(CFLAGS) $(DFLAGS) $< -o $@

#all: rainbow rbasm rbmergetag ezmsim 
all: bio-rainbow ezmsim rbasm

bio-rainbow: main.o  divide.o file_reader.o asm_R2.o mergectg.o cluster.o
	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ $(GLIBS)

rbasm: asm_R2.o rbasm_main.o file_reader.o
	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ $(GLIBS)

ezmsim: ezmsim.o
	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ $(GLIBS)

asm_R2.o: asm_R2.c asm_R2.h string.h vector.h hashset.h file_reader.h \
  dna.h
cluster.o: cluster.c rainbow.h bitvec.h hashset.h list.h sort.h dna.h \
  file_reader.h string.h vector.h mergectg.h stdaln.h asm_R2.h \
  bloom_filter.h
divide.o: divide.c rainbow.h bitvec.h hashset.h list.h sort.h dna.h \
  file_reader.h string.h vector.h mergectg.h stdaln.h asm_R2.h \
  bloom_filter.h
ezmsim.o: ezmsim.c
file_reader.o: file_reader.c file_reader.h string.h vector.h
main.o: main.c rainbow.h bitvec.h hashset.h list.h sort.h dna.h \
  file_reader.h string.h vector.h mergectg.h stdaln.h asm_R2.h \
  bloom_filter.h
mergectg.o: mergectg.c mergectg.h list.h sort.h file_reader.h string.h \
  vector.h hashset.h stdaln.h asm_R2.h dna.h bloom_filter.h bitvec.h \
  rainbow.h
rbasm_main.o: rbasm_main.c asm_R2.h string.h vector.h hashset.h \
  file_reader.h dna.h
stdaln.o: stdaln.c stdaln.h

clean:
	rm -f *.o *.gcda *.gcno *.gcov gmon.out bio-rainbow rbasm ezmsim rbmergetag *.exe

clear:
	rm -f *.o *.gcda *.gcno *.gcov gmon.out