File: Makefile

package info (click to toggle)
daligner 1.0%2B20161119-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 636 kB
  • sloc: ansic: 13,256; makefile: 141
file content (45 lines) | stat: -rw-r--r-- 1,087 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
DEST_DIR = ~/bin

CFLAGS += -O3 -Wall -Wextra -Wno-unused-result -fno-strict-aliasing
LDLIBS += -lm

ALL = daligner HPC.daligner LAsort LAmerge LAsplit LAcat LAshow LAdump LAcheck LAindex

all: $(ALL)

daligner: LDLIBS += -lpthread
daligner: daligner.c filter.c filter.h align.c align.h DB.c DB.h QV.c QV.h

HPC.daligner: HPC.daligner.c DB.c DB.h QV.c QV.h

LAsort: LAsort.c align.h DB.c DB.h QV.c QV.h

LAmerge: LAmerge.c align.h DB.c DB.h QV.c QV.h

LAshow: LAshow.c align.c align.h DB.c DB.h QV.c QV.h

LAdump: LAdump.c align.c align.h DB.c DB.h QV.c QV.h

LAcat: LAcat.c align.h DB.c DB.h QV.c QV.h

LAsplit: LAsplit.c align.h DB.c DB.h QV.c QV.h

LAcheck: LAcheck.c align.c align.h DB.c DB.h QV.c QV.h

LAupgrade.Dec.31.2014: LAupgrade.Dec.31.2014.c align.c align.h DB.c DB.h QV.c QV.h

LAindex: LAindex.c align.c align.h DB.c DB.h QV.c QV.h

clean:
	rm -f $(ALL)
	rm -fr *.dSYM
	rm -f LAupgrade.Dec.31.2014
	rm -f daligner.tar.gz

install:
	install -d $(DESTDIR)/usr/bin
	install $(ALL) $(DESTDIR)/usr/bin

package:
	make clean
	tar -zcf daligner.tar.gz README.md Makefile *.h *.c