diff options
Diffstat (limited to 'src/c/Makefile')
-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 |