]> git.donarmstrong.com Git - biopieces.git/blob - code_c/Maasha/src/test/Makefile
a74cfc3c42fc0b34ec2f7fb0fb036bd1bce2805d
[biopieces.git] / code_c / Maasha / src / test / Makefile
1 CC      = gcc
2 Cflags = -Wall -Werror # for gprof
3
4 INC_DIR = ../inc/
5 LIB_DIR = ../lib/
6
7 INC = -I $(INC_DIR)
8 LIB = -lm $(LIB_DIR)*.o
9
10 all: test
11
12 test: test_fasta test_filesys test_mem test_strings
13
14 test_fasta: test_fasta.c $(LIB_DIR)fasta.c
15         $(CC) $(Cflags) $(INC) $(LIB) test_fasta.c -o test_fasta
16
17 test_filesys: test_filesys.c $(LIB_DIR)filesys.c
18         $(CC) $(Cflags) $(INC) $(LIB) test_filesys.c -o test_filesys
19
20 test_mem: test_mem.c $(LIB_DIR)mem.c
21         $(CC) $(Cflags) $(INC) $(LIB) test_mem.c -o test_mem
22
23 test_strings: test_strings.c $(LIB_DIR)strings.c
24         $(CC) $(Cflags) $(INC) $(LIB) test_strings.c -o test_strings
25
26 clean:
27         rm test_fasta
28         rm test_filesys
29         rm test_mem
30         rm test_strings