]> git.donarmstrong.com Git - biopieces.git/blobdiff - code_c/Maasha/src/test/Makefile
removed commented out stale code
[biopieces.git] / code_c / Maasha / src / test / Makefile
index a74cfc3c42fc0b34ec2f7fb0fb036bd1bce2805d..a70e2fa40ba0eb36c87eeba0af5e1fcbf647ae6e 100644 (file)
@@ -1,30 +1,17 @@
-CC      = gcc
-Cflags = -Wall -Werror # for gprof
+# Martin Asser Hansen (mail@maasha.dk) Copyright (C) 2008 - All right reserved
 
-INC_DIR = ../inc/
-LIB_DIR = ../lib/
+CC      = gcc
+CFLAGS  = -Wall -Werror
 
-INC = -I $(INC_DIR)
-LIB = -lm $(LIB_DIR)*.o
+INC = -I ../inc/ -I $(HOME)/maasha_install/include/
+LIB = -lm ../lib/*.o
 
 all: test
 
-test: test_fasta test_filesys test_mem test_strings
-
-test_fasta: test_fasta.c $(LIB_DIR)fasta.c
-       $(CC) $(Cflags) $(INC) $(LIB) test_fasta.c -o test_fasta
-
-test_filesys: test_filesys.c $(LIB_DIR)filesys.c
-       $(CC) $(Cflags) $(INC) $(LIB) test_filesys.c -o test_filesys
-
-test_mem: test_mem.c $(LIB_DIR)mem.c
-       $(CC) $(Cflags) $(INC) $(LIB) test_mem.c -o test_mem
+test: test_common
 
-test_strings: test_strings.c $(LIB_DIR)strings.c
-       $(CC) $(Cflags) $(INC) $(LIB) test_strings.c -o test_strings
+test_common: test_common.c
+       $(CC) $(CFLAGS) $(INC) $(LIB) test_common.c -o test_common
 
 clean:
-       rm test_fasta
-       rm test_filesys
-       rm test_mem
-       rm test_strings
+       rm test_common