+# This is a -*- makefile -*-, Emacs
#Please refer LICENSE FILE in the home directory for licensing
#information always use full screen mode to view/edit this file in
#emacs
#OPTIONS1 = -DNATIVE_C_ARITH
#OPTIONS2 = -DSMTLIB
-#CFLAGS_BASE = -g -ggdb -pg $(OPTIONS1) $(OPTIONS2)
-#CFLAGS_BASE = -ggdb $(OPTIONS1) $(OPTIONS2)
+#OPTIMIZE = -g -pg # Debugging and gprof-style profiling
+#OPTIMIZE = -g # Debugging
+OPTIMIZE = -O3 # Maximum optimization
-CFLAGS_BASE = -O3 $(OPTIONS1) $(OPTIONS2)
+CFLAGS_BASE = $(OPTIMIZE) $(OPTIONS1) $(OPTIONS2)
# You can compile using make STATIC=true to compile a statically linked executable
# Note that you should execute liblinks.sh first.
ifdef STATIC
endif
CXXFLAGS = $(CFLAGS) -Wall -DEXT_HASH_MAP
+#CXXFLAGS = $(CFLAGS) -Wall -DTR1_UNORDERED_MAP
#CXXFLAGS = $(CFLAGS) -Wall
#LDFLAGS= -lstdc++
#LDFLAGS= -lstdc++ -pg
# STP (Simple Theorem Prover) top level makefile
#
- # To make in debug mode, type 'make "CFLAGS=-ggdb"
- # To make in optimized mode, type 'make "CFLAGS=-O2"
+ # To make in debug mode, type 'make "OPTIMIZE=-g"
+ # To make in optimized mode, type 'make "OPTIMIZE=-O3"
include Makefile.common config.info
rm -rf bin/*~
rm -rf bin/stp
rm -rf *.log
- #rm -rf Makefile
- #rm -rf config.info
+ @#rm -rf Makefile
+ @#rm -rf config.info
rm -f TAGS
$(MAKE) clean -C AST
$(MAKE) clean -C sat/core