diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2013-10-29 15:32:12 -0400 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2013-10-29 15:32:12 -0400 |
commit | 92998412716a7ae7559a6b5a0a04cfab2b10a83e (patch) | |
tree | 72292d00b5f084b7f9168218cee25bff448fa25e | |
parent | bd5b32238f99a979c57a0a5930cc303427a6356a (diff) |
append variables in makefile to reduce redundancy
-rw-r--r-- | src/c/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/c/Makefile b/src/c/Makefile index 0e03ad8..1d3581d 100644 --- a/src/c/Makefile +++ b/src/c/Makefile @@ -3,12 +3,14 @@ UNAME := $(shell uname) CC = gcc QUIKR_TRAIN_CFLAGS = -D$(UNAME) -DVERSION=$(VERSION) MULTIFASTA_CFLAGS = -pthread -L../ -I../ -std=gnu99 -fopenmp -D$(UNAME) -DVERSION=$(VERSION) -QUIKR_CFLAGS = -std=gnu99 -D$(UNAME) -DVERSION=$(VERSION) +QUIKR_CFLAGS = -D$(UNAME) -DVERSION=$(VERSION) +CFLAGS = -Wall -Wextra -lm -lz + ifndef DEBUG -CFLAGS = -O3 -s -mtune=native -Wextra -Wall -lm -lz +CFLAGS += -O3 -s -mtune=native else -CFLAGS = -ggdb3 -O0 -Wall -Wextra -lm -lz +CFLAGS += -ggdb3 -O0 endif all: nnls.o kmer_utils.o quikr_train quikr multifasta_to_otu |