1 # Martin Asser Hansen (mail@maasha.dk) Copyright (C) 2008 - All right reserved
4 Cflags = -Wall -Werror -g -pg # for gprof
10 LIB = -lm $(LIB_DIR)*.o
14 test: test_barray test_bits test_common test_fasta test_filesys test_hash test_list test_mem test_ucsc test_seq test_strings
16 test_barray: test_barray.c $(LIB_DIR)barray.c
17 $(CC) $(Cflags) $(INC) $(LIB) test_barray.c -o test_barray
19 test_bits: test_bits.c $(LIB_DIR)bits.c
20 $(CC) $(Cflags) $(INC) $(LIB) test_bits.c -o test_bits
22 test_common: test_common.c $(LIB_DIR)common.c
23 $(CC) $(Cflags) $(INC) $(LIB) test_common.c -o test_common
25 test_fasta: test_fasta.c $(LIB_DIR)fasta.c
26 $(CC) $(Cflags) $(INC) $(LIB) test_fasta.c -o test_fasta
28 test_filesys: test_filesys.c $(LIB_DIR)filesys.c
29 $(CC) $(Cflags) $(INC) $(LIB) test_filesys.c -o test_filesys
31 test_hash: test_hash.c $(LIB_DIR)hash.c
32 $(CC) $(Cflags) $(INC) $(LIB) test_hash.c -o test_hash
34 test_list: test_list.c $(LIB_DIR)list.c
35 $(CC) $(Cflags) $(INC) $(LIB) test_list.c -o test_list
37 test_mem: test_mem.c $(LIB_DIR)mem.c
38 $(CC) $(Cflags) $(INC) $(LIB) test_mem.c -o test_mem
40 test_ucsc: test_ucsc.c $(LIB_DIR)ucsc.c
41 $(CC) $(Cflags) $(INC) $(LIB) test_ucsc.c -o test_ucsc
43 test_seq: test_seq.c $(LIB_DIR)seq.c
44 $(CC) $(Cflags) $(INC) $(LIB) test_seq.c -o test_seq
46 test_strings: test_strings.c $(LIB_DIR)strings.c
47 $(CC) $(Cflags) $(INC) $(LIB) test_strings.c -o test_strings