]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Changed makefiles in src/sat and scripts/Makefile.common such that m32 flag needs...
authorvijay_ganesh <vijay_ganesh@e59a4935-1847-0410-ae03-e826735625c1>
Wed, 21 Oct 2009 22:19:08 +0000 (22:19 +0000)
committervijay_ganesh <vijay_ganesh@e59a4935-1847-0410-ae03-e826735625c1>
Wed, 21 Oct 2009 22:19:08 +0000 (22:19 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@337 e59a4935-1847-0410-ae03-e826735625c1

scripts/Makefile.common
src/sat/core/Makefile
src/sat/simp/Makefile
src/sat/unsound/Makefile

index c9f5b243803cdf4bccae80af7700f8bee30b4f73..da491e20042177800e46d145b5b60c5ebd0c6b2b 100644 (file)
@@ -1,15 +1,19 @@
 # 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
+#/********************************************************************
+# * AUTHORS: Vijay Ganesh
+# *
+# * BEGIN DATE: November, 2005
+# *
+# * LICENSE: Please view LICENSE file in the home dir of this Program
+# ********************************************************************/
 
 #OPTIMIZE = -g -pg           # Debugging and gprof-style profiling
 OPTIMIZE = -g                # Debugging
 OPTIMIZE = -O3 -DNDEBUG      # Maximum optimization
 #OPTIMIZE = -O3 -DNDEBUG -DLESSBYTES_PERNODE
 CFLAGS_BASE = $(OPTIMIZE)
-
+CFLAGS_M32  = -m32
 
 # You can compile using make STATIC=true to compile a statically
 # linked executable Note that you should execute liblinks.sh first.
@@ -41,8 +45,8 @@ ifeq ($(shell uname -s), DarwinX)
   CFLAGS = -isysroot $(UNIVERSAL_SDK) $(UNIVERSAL_ARCH) $(CFLAGS_BASE)
 else
   LDFLAGS = $(LDFLAGS_BASE)
-  #CFLAGS = $(CFLAGS_BASE) -m32
-  CFLAGS = $(CFLAGS_BASE)      
+  CFLAGS = $(CFLAGS_BASE)              
+  CFLAGS = $(CFLAGS_BASE) $(CFLAGS_M32)
 endif
 
 #CXXFLAGS = $(CFLAGS) -Wall -Wextra -DEXT_HASH_MAP -Wno-deprecated
index 324dae95eea46ac71eb027393eb763c79d1bf50b..a150a4fd93bf4ce7bcf284cceff324e8b976120b 100644 (file)
@@ -1,11 +1,10 @@
+include   ../../../scripts/Makefile.common
 MTL       = ../mtl
 CHDRS     = $(wildcard *.h) $(wildcard $(MTL)/*.h)
 EXEC      = minisat
-#CFLAGS    = -I$(MTL) -Wall -DEXT_HASH_MAP -ffloat-store -m32
-CFLAGS    = -I$(MTL) -Wall -DEXT_HASH_MAP -ffloat-store
+CFLAGS    = -I$(MTL) -Wall -DEXT_HASH_MAP -ffloat-store $(CFLAGS_M32)
 LFLAGS    = -lz
 
-
 include ../mtl/template.mk
 all:
        ranlib libminisat.a
index 51859fc3098d6a643a7f059a6e38638591cf84e1..3d5a7bbe59decadd1fea84a8125d1a89229a03ed 100644 (file)
@@ -1,8 +1,9 @@
+include   ../../../scripts/Makefile.common
 MTL       = ../mtl
 CORE      = ../core
 CHDRS     = $(wildcard *.h) $(wildcard $(MTL)/*.h)
 EXEC      = minisat
-CFLAGS    = -I$(MTL) -I$(CORE) -DEXT_HASH_MAP -Wall -ffloat-store
+CFLAGS    = -I$(MTL) -I$(CORE) -DEXT_HASH_MAP -Wall -ffloat-store $(CFLAGS_M32)
 LFLAGS    = -lz
 
 CSRCS     = $(wildcard *.C)
index 77afd679050e85f655828ecbc04ed2dc21ade2fc..f57ec3fc97ac3bd458266bdd4706c77a1b6de011 100644 (file)
@@ -1,8 +1,9 @@
+include   ../../../scripts/Makefile.common
 MTL       = ../mtl
 CORE      = ../core
 CHDRS     = $(wildcard *.h) $(wildcard $(MTL)/*.h)
 EXEC      = minisat
-CFLAGS    = -I$(MTL) -I$(CORE) -Wall -ffloat-store
+CFLAGS    = -I$(MTL) -I$(CORE) -Wall -ffloat-store $(CFLAGS_M32)
 LFLAGS    = -lz
 
 CSRCS     = $(wildcard *.C)