Updated Makefile to allow compilation with mingw32
authoretisserant
Tue, 28 Aug 2007 08:42:54 +0200
changeset 54 66925599259a
parent 53 7f0cea717342
child 55 8b7a21820737
Updated Makefile to allow compilation with mingw32
Makefile.Linux
absyntax/Makefile
stage4/generate_iec/Makefile
--- a/Makefile.Linux	Mon Aug 27 17:38:26 2007 +0200
+++ b/Makefile.Linux	Tue Aug 28 08:42:54 2007 +0200
@@ -1,4 +1,5 @@
- 
+#CXX = i686-mingw32-c++ 
+CXX = g++ 
 
 #get warnings, debugging information and optimization
 CFLAGS  = -Wall -pedantic -Wpointer-arith -Wwrite-strings
@@ -9,7 +10,7 @@
 
 #get warnings, debugging information and optimization
 CXXFLAGS  = -Wall -pedantic -Wpointer-arith -Wwrite-strings
-#CXXFLAGS += -ggdb -O3 -funroll-loops
-CXXFLAGS += -O3 -funroll-loops
+CXXFLAGS += -ggdb
+#CXXFLAGS += -O3 -funroll-loops
 
 IECLIBDIR=lib
--- a/absyntax/Makefile	Mon Aug 27 17:38:26 2007 +0200
+++ b/absyntax/Makefile	Tue Aug 28 08:42:54 2007 +0200
@@ -1,5 +1,5 @@
 # include the system specific Makefile
-#include ../../../Makefile.$(shell uname)
+include ../Makefile.$(shell uname)
 
 
 
@@ -14,10 +14,10 @@
 
 
 #get warnings, debugging information and optimization
-CXXFLAGS  = -Wall -pedantic -Wpointer-arith -Wwrite-strings
+#CXXFLAGS  = -Wall -pedantic -Wpointer-arith -Wwrite-strings
 # CXXFLAGS += -Werror
 
-CXXFLAGS += -ggdb -O3 -funroll-loops
+#CXXFLAGS += -ggdb -O3 -funroll-loops
 # Note: if the optimizer crashes, we'll leave out the -O3 for those files
 
 CXXFLAGS += -I. -I../* -I../../absyntax
--- a/stage4/generate_iec/Makefile	Mon Aug 27 17:38:26 2007 +0200
+++ b/stage4/generate_iec/Makefile	Tue Aug 28 08:42:54 2007 +0200
@@ -1,7 +1,5 @@
 # include the system specific Makefile
-#include ../../../../Makefile.$(shell uname)
-
-
+include ../../Makefile.$(shell uname)
 
 default: all
 
@@ -12,9 +10,9 @@
 	-rm -f *.o */*.o 
 
 #get warnings, debugging information and optimization
-CXXFLAGS  = -Wall -pedantic -Wpointer-arith -Wwrite-strings
+#CXXFLAGS  = -Wall -pedantic -Wpointer-arith -Wwrite-strings
 # CXXFLAGS += -Werror
-CXXFLAGS += -ggdb -O3 -funroll-loops
+#CXXFLAGS += -ggdb -O3 -funroll-loops
 # Note: if the optimizer crashes, we'll leave out the -O3 for those files
 
 CXXFLAGS += -I. -I../* -I../../absyntax