diff options
author | Calvin <calvin@EESI> | 2013-06-12 12:39:37 -0400 |
---|---|---|
committer | Calvin <calvin@EESI> | 2013-06-12 12:39:37 -0400 |
commit | e1712839c4b091179f35ee9849c20b2581a9fc8f (patch) | |
tree | 0f8579db200b25a5d505ca4cf6a5068db29fa618 /src/c/Makefile | |
parent | 13351ef77d9f9f1cd130e7cf3fb9ce5b5cfc83e8 (diff) |
add --version and -V
Diffstat (limited to 'src/c/Makefile')
-rw-r--r-- | src/c/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/c/Makefile b/src/c/Makefile index 152121a..35bc645 100644 --- a/src/c/Makefile +++ b/src/c/Makefile @@ -1,11 +1,14 @@ +VERSION=\"v1.0.3\" 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) -lz +QUIKR_TRAIN_CFLAGS = -O3 -s -mtune=native -Wall -lm -lz -D$(UNAME) -DVERSION=$(VERSION) +MULTIFASTA_CFLAGS = -O3 -s -mtune=native -Wextra -Wall -lm -lz -pthread -L../ -I../ -std=gnu99 -fopenmp -D$(UNAME) -DVERSION=$(VERSION) +QUIKR_CFLAGS= -O3 -s -mtune=native -Wextra -Wall -lm -lz -std=gnu99 -D$(UNAME) -DVERSION=$(VERSION) + 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) + $(CC) multifasta_to_otu.c quikr_functions.c nnls.c -o multifasta_to_otu $(MULTIFASTA_CFLAGS) quikr_train_: $(CC) quikr_train.c quikr_functions.c -o quikr_train $(QUIKR_TRAIN_CFLAGS) quikr_: |