aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-07-16 08:31:37 +0000
committerlloyd <[email protected]>2006-07-16 08:31:37 +0000
commit7675ae670776907c2f7268833e2576fb5fa36391 (patch)
tree7ec5aa7530e67596362a392bae4b8dfc3fb55ce9 /doc/examples
parent903a4d127b99344fc105256df7f714b7bc2c233b (diff)
Enable optimizations in the makefile
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index f87811d3f..8b0c8ff40 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -3,13 +3,11 @@
BOTAN_DIR = ../..
CXX = g++
-WARNINGS = -ansi -W -Wall
-#CXX = icc
-#WARNINGS = -w1
+CFLAGS = -O2 -ansi -W -Wall
INCLUDES = `$(BOTAN_DIR)/botan-config --cflags`
LIBS = `$(BOTAN_DIR)/botan-config --libs`
-FLAGS = $(INCLUDES) $(WARNINGS) -I$(BOTAN_DIR)/build/include -L$(BOTAN_DIR)
+FLAGS = $(INCLUDES) $(CFLAGS) -I$(BOTAN_DIR)/build/include -L$(BOTAN_DIR)
X509_EX = ca pkcs10 self_sig x509info asn1
RSA_EX = rsa_kgen rsa_enc rsa_dec