summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBaruch Sterin <baruchs@gmail.com>2014-06-10 02:05:57 -0700
committerBaruch Sterin <baruchs@gmail.com>2014-06-10 02:05:57 -0700
commit257cbfd25c0df0c2fa34166617e25c6ce73876a4 (patch)
tree4aeece72252c3fd22f29f346a58a724938b96fc6 /Makefile
parente58713a6a1834b8293405636abbb869a5daa5d4d (diff)
downloadabc-257cbfd25c0df0c2fa34166617e25c6ce73876a4.tar.gz
abc-257cbfd25c0df0c2fa34166617e25c6ce73876a4.tar.bz2
abc-257cbfd25c0df0c2fa34166617e25c6ce73876a4.zip
add an option to the pyabc packaging scripts
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 72b35134..e08cfc5c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+ABC_PYTHON=/usr/bin/python
+READLINE=0
CC := gcc
CXX := g++
@@ -40,7 +42,7 @@ arch_flags : arch_flags.c
$(CC) arch_flags.c -o arch_flags
ARCHFLAGS ?= $(shell $(CC) arch_flags.c -o arch_flags && ./arch_flags)
-OPTFLAGS ?= -g -O #-DABC_NAMESPACE=xxx
+OPTFLAGS ?= -g -O3 #-DABC_NAMESPACE=xxx
MSG_PREFIX ?=
CFLAGS += -Wall -Wno-unused-function -Wno-write-strings -Wno-sign-compare $(OPTFLAGS) $(ARCHFLAGS) -Isrc