summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5c2f6c5..c12e440 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,12 @@
BINS = ascii class depipe_strings dup fpipe pipe realloc strpbrk strsep \
- tokenizer getopt prime_mask
+ tokenizer getopt prime_mask linked_list pi_bbp
CC = gcc
+CFLAGS = -Wall -std=gnu99 -pedantic
DBGFLAGS = -g -O0
ifdef DEBUG
- CFLAGS = $(DBGFLAGS) -D DEBUG -std=gnu99 -Wall -pedantic
+ CFLAGS += $(DBGFLAGS) -D DEBUG
else
- CFLAGS = -O2 -std=gnu99 -Wall -pedantic
+ CFLAGS += -O2 -mtune=native -march=native
endif
LDFLAGS = -lm