]> git.donarmstrong.com Git - biopieces.git/blob - code_c/Maasha/src/test/Makefile
6f40600f7bf95748df7cfb3e9ee939df37daaea6
[biopieces.git] / code_c / Maasha / src / test / Makefile
1 # Martin Asser Hansen (mail@maasha.dk) Copyright (C) 2008 - All right reserved
2
3 CC      = gcc
4 Cflags = -Wall -Werror -g -pg # for gprof
5
6 INC_DIR = ../inc/
7 LIB_DIR = ../lib/
8
9 INC = -I $(INC_DIR)
10 LIB = -lm $(LIB_DIR)*.o
11
12 all: test
13
14 test: test_barray test_bits test_common test_fasta test_filesys test_hash test_list test_mem test_ucsc test_seq test_strings
15
16 test_barray: test_barray.c $(LIB_DIR)barray.c
17         $(CC) $(Cflags) $(INC) $(LIB) test_barray.c -o test_barray
18
19 test_bits: test_bits.c $(LIB_DIR)bits.c
20         $(CC) $(Cflags) $(INC) $(LIB) test_bits.c -o test_bits
21
22 test_common: test_common.c $(LIB_DIR)common.c
23         $(CC) $(Cflags) $(INC) $(LIB) test_common.c -o test_common
24
25 test_fasta: test_fasta.c $(LIB_DIR)fasta.c
26         $(CC) $(Cflags) $(INC) $(LIB) test_fasta.c -o test_fasta
27
28 test_filesys: test_filesys.c $(LIB_DIR)filesys.c
29         $(CC) $(Cflags) $(INC) $(LIB) test_filesys.c -o test_filesys
30
31 test_hash: test_hash.c $(LIB_DIR)hash.c
32         $(CC) $(Cflags) $(INC) $(LIB) test_hash.c -o test_hash
33
34 test_list: test_list.c $(LIB_DIR)list.c
35         $(CC) $(Cflags) $(INC) $(LIB) test_list.c -o test_list
36
37 test_mem: test_mem.c $(LIB_DIR)mem.c
38         $(CC) $(Cflags) $(INC) $(LIB) test_mem.c -o test_mem
39
40 test_ucsc: test_ucsc.c $(LIB_DIR)ucsc.c
41         $(CC) $(Cflags) $(INC) $(LIB) test_ucsc.c -o test_ucsc
42
43 test_seq: test_seq.c $(LIB_DIR)seq.c
44         $(CC) $(Cflags) $(INC) $(LIB) test_seq.c -o test_seq
45
46 test_strings: test_strings.c $(LIB_DIR)strings.c
47         $(CC) $(Cflags) $(INC) $(LIB) test_strings.c -o test_strings
48
49 clean:
50         rm test_barray
51         rm test_bits
52         rm test_common
53         rm test_fasta
54         rm test_filesys
55         rm test_hash
56         rm test_list
57         rm test_mem
58         rm test_ucsc
59         rm test_seq
60         rm test_strings