diff options
author | Calvin <calvin@EESI> | 2013-05-14 21:51:40 -0400 |
---|---|---|
committer | Calvin <calvin@EESI> | 2013-05-14 21:51:40 -0400 |
commit | 0773aaf89678b967588a902df1f5e6f9ccea393d (patch) | |
tree | 40762e5df1da876d460d8695357ab0835645e8c6 /src/c/Makefile | |
parent | 1d2becc9af591d37badfe0e77751bbb80932472f (diff) |
release1.0
Diffstat (limited to 'src/c/Makefile')
-rw-r--r-- | src/c/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/c/Makefile b/src/c/Makefile new file mode 100644 index 0000000..ba0c799 --- /dev/null +++ b/src/c/Makefile @@ -0,0 +1,14 @@ +UNAME := $(shell uname) +CC = gcc +QUIKR_TRAIN_CFLAGS = -O3 -s -mtune=native -Wall -lm -lz -D$(UNAME) +QUIKR_CFLAGS = -O3 -s -mtune=native -Wextra -Wall -lm -pthread -L../ -I../ -std=gnu99 -fopenmp -D$(UNAME) +all: quikr_train_ quikr_ multifasta_to_otu_ + +multifasta_to_otu_: + $(CC) multifasta_to_otu.c quikr_functions.c nnls.c -o multifasta_to_otu $(QUIKR_CFLAGS) +quikr_train_: + $(CC) quikr_train.c quikr_functions.c -o quikr_train $(QUIKR_TRAIN_CFLAGS) +quikr_: + $(CC) quikr.c quikr_functions.c nnls.c -o quikr $(QUIKR_CFLAGS) -I../ +clean: + rm -vf quikr_train quikr multifasta_to_otu |