File: Makefile

package info (click to toggle)
dazzdb 1.0%2Bgit20250217.a3eefd4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 860 kB
  • sloc: ansic: 16,360; makefile: 206; sh: 34
file content (68 lines) | stat: -rw-r--r-- 1,474 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
DEST_DIR = ~/bin

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

ALL = fasta2DB DB2fasta quiva2DB DB2quiva DBsplit DBdust Catrack DBshow DBstats DBrm DBmv DBcp \
      simulator fasta2DAM DAM2fasta rangen arrow2DB DB2arrow DBwipe DBtrim DB2ONE

all: $(ALL)

fasta2DB: fasta2DB.c DB.c DB.h QV.c QV.h

DB2fasta: DB2fasta.c DB.c DB.h QV.c QV.h

quiva2DB: CPPFLAGS += -DINTERACTIVE
quiva2DB: quiva2DB.c DB.c DB.h QV.c QV.h

DB2quiva: DB2quiva.c DB.c DB.h QV.c QV.h

DB2arrow: DB2arrow.c DB.c QV.c DB.h QV.h

arrow2DB: arrow2DB.c DB.c QV.c DB.h QV.h

DBsplit: DBsplit.c DB.c DB.h QV.c QV.h

DBtrim: DBtrim.c DB.c DB.h QV.c QV.h

DBdust: DBdust.c DB.c DB.h QV.c QV.h

Catrack: Catrack.c DB.c DB.h QV.c QV.h

DBshow: DBshow.c DB.c DB.h QV.c QV.h

DB2ONE: DB2ONE.c DB.c DB.h QV.c QV.h ONElib.c ONElib.h

DBstats: DBstats.c DB.c DB.h QV.c QV.h

DBrm: DBrm.c DB.c DB.h QV.c QV.h

DBmv: CPPFLAGS += -DMOVE
DBmv: DBmv.c DB.c DB.h QV.c QV.h

DBcp: DBmv.c DB.c DB.h QV.c QV.h
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)

simulator: simulator.c DB.c DB.h QV.c QV.h

rangen: LDLIBS =
rangen: rangen.c

fasta2DAM: fasta2DAM.c DB.c DB.h QV.c QV.h

DAM2fasta: DAM2fasta.c DB.c DB.h QV.c QV.h

DBwipe: DBwipe.c DB.c DB.h QV.c QV.h

clean:
	rm -f $(ALL)
	rm -fr *.dSYM
	rm -f dazz.db.tar.gz

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

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