File: Makefile

package info (click to toggle)
lagan 2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,360 kB
  • sloc: ansic: 8,542; perl: 7,732; cpp: 3,260; makefile: 85
file content (54 lines) | stat: -rw-r--r-- 3,066 bytes parent folder | download | duplicates (3)
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
CC = gcc $(CFLAGS)
CPP = g++ $(CFLAGS)
CFLAGS += -O3 # -Wall -W
TRGT_DIR = ..

all: ../anchors ../chaos ../order ../mlagan ../prolagan ../utils/bin2mf ../utils/bin2bl ../utils/cextract ../utils/cstat ../utils/contigorder ../utils/getbounds ../utils/getlength ../utils/getoverlap ../utils/rc ../utils/seqmerge ../utils/scorealign ../utils/scorecontigs ../utils/getcontigpos ../utils/fa2xfa ../utils/Glue ../utils/dotplot ../utils/overlay
	(cd glocal; $(MAKE) LDFLAGS=$(LDFLAGS))
clean: 
	rm -f *.o *~ utils/*~ mlagan.purify core
	(cd glocal; $(MAKE) clean)
../anchors: anchors.c skiplist.c
	$(CC) -o $(TRGT_DIR)/anchors anchors.c skiplist.c $(LDFLAGS)
../chaos: fchaos.c thrtrie.c skiplist.c global.c translate.c mempage.c filebuffer.c
	$(CC) -o $(TRGT_DIR)/chaos fchaos.c thrtrie.c skiplist.c global.c translate.c filebuffer.c -lm -DCHAOS__FLAG $(LDFLAGS)
../order: order.c diagmatrix.c filebuffer.c
	$(CC) -o $(TRGT_DIR)/order order.c diagmatrix.c filebuffer.c $(LDFLAGS)
../mlagan: mlagan.c diagmatrix.c multial.c skiplist.c filebuffer.c
	$(CC) -o $(TRGT_DIR)/mlagan mlagan.c multial.c diagmatrix.c skiplist.c filebuffer.c -lm -DMULTIAL__FLAG $(LDFLAGS)
../prolagan: prolagan.c diagmatrix.c multial.c skiplist.c filebuffer.c
	$(CC) -o $(TRGT_DIR)/prolagan prolagan.c multial.c diagmatrix.c skiplist.c filebuffer.c -lm -DMULTIAL__FLAG $(LDFLAGS)
../utils/bin2mf: utils/bin2mf.c
	$(CC) -o $(TRGT_DIR)/utils/bin2mf utils/bin2mf.c $(LDFLAGS)
../utils/bin2bl: utils/bin2bl.c
	$(CC) -o $(TRGT_DIR)/utils/bin2bl utils/bin2bl.c $(LDFLAGS)
../utils/cextract: utils/cextract.c
	$(CC) -o $(TRGT_DIR)/utils/cextract utils/cextract.c $(LDFLAGS)
../utils/cstat: utils/cstat.c
	$(CC) -o $(TRGT_DIR)/utils/cstat utils/cstat.c $(LDFLAGS)
../utils/contigorder: utils/contigorder.c
	$(CC) -o $(TRGT_DIR)/utils/contigorder utils/contigorder.c $(LDFLAGS)
../utils/getbounds: utils/getbounds.c
	$(CC) -o $(TRGT_DIR)/utils/getbounds utils/getbounds.c $(LDFLAGS)
../utils/getcontigpos: utils/getcontigpos.c
	$(CC) -o $(TRGT_DIR)/utils/getcontigpos utils/getcontigpos.c $(LDFLAGS)
../utils/getlength: utils/getlength.c
	$(CC) -o $(TRGT_DIR)/utils/getlength utils/getlength.c $(LDFLAGS)
../utils/getoverlap: utils/getoverlap.c
	$(CC) -o $(TRGT_DIR)/utils/getoverlap utils/getoverlap.c $(LDFLAGS)
../utils/rc: utils/rc.c
	$(CC) -o $(TRGT_DIR)/utils/rc utils/rc.c $(LDFLAGS)
../utils/seqmerge: utils/seqmerge.c
	$(CC) -o $(TRGT_DIR)/utils/seqmerge utils/seqmerge.c $(LDFLAGS)
../utils/scorealign: utils/scorealign.c
	$(CC) -o $(TRGT_DIR)/utils/scorealign utils/scorealign.c -lm $(LDFLAGS)
../utils/scorecontigs: utils/scorecontigs.c
	$(CC) -o $(TRGT_DIR)/utils/scorecontigs utils/scorecontigs.c -lm $(LDFLAGS)
../utils/fa2xfa: utils/fa2xfa.c
	$(CC) -o $(TRGT_DIR)/utils/fa2xfa utils/fa2xfa.c $(LDFLAGS)
../utils/overlay: utils/overlay.c
	$(CC) -o $(TRGT_DIR)/utils/overlay utils/overlay.c $(LDFLAGS)
../utils/Glue: utils/Glue.cpp
	$(CPP) -o $(TRGT_DIR)/utils/Glue utils/Glue.cpp $(LDFLAGS)
../utils/dotplot: utils/dotplot.cpp
	$(CPP) -o $(TRGT_DIR)/utils/dotplot utils/dotplot.cpp $(LDFLAGS)