]> git.donarmstrong.com Git - biopieces.git/blob - code_c/Maasha/src/lib/Makefile
7b9c64e82bcb2e7c49f8c411d719a7eb39c137be
[biopieces.git] / code_c / Maasha / src / lib / Makefile
1 CC      = gcc
2 # Cflags  = -Wall -Werror
3 Cflags = -Wall -Werror -g -pg  # gprof
4 INC_DIR = -I ../inc/
5
6 all: common.o mem.o strings.o seq.o filesys.o fasta.o list.o hash.o ucsc.o
7
8 common.o: common.c
9         $(CC) $(Cflags) $(INC_DIR) -c common.c
10
11 mem.o: mem.c
12         $(CC) $(Cflags) $(INC_DIR) -c mem.c
13
14 strings.o: strings.c
15         $(CC) $(Cflags) $(INC_DIR) -c strings.c
16
17 seq.o: seq.c
18         $(CC) $(Cflags) $(INC_DIR) -c seq.c
19
20 filesys.o: filesys.c
21         $(CC) $(Cflags) $(INC_DIR) -c filesys.c
22
23 fasta.o: fasta.c
24         $(CC) $(Cflags) $(INC_DIR) -c fasta.c
25
26 list.o: list.c
27         $(CC) $(Cflags) $(INC_DIR) -c list.c
28
29 hash.o: hash.c
30         $(CC) $(Cflags) $(INC_DIR) -c hash.c
31
32 ucsc.o: ucsc.c
33         $(CC) $(Cflags) $(INC_DIR) -c ucsc.c
34
35 clean:
36         rm common.o
37         rm mem.o
38         rm strings.o
39         rm seq.o
40         rm filesys.o
41         rm fasta.o
42         rm list.o
43         rm hash.o
44         rm ucsc.o
45