# HG changeset patch # User etisserant # Date 1188283374 -7200 # Node ID 66925599259a537202366696ddeda8ad69b6c814 # Parent 7f0cea71734228fbca7b7f750e0b8322c98cb6c3 Updated Makefile to allow compilation with mingw32 diff -r 7f0cea717342 -r 66925599259a Makefile.Linux --- 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 diff -r 7f0cea717342 -r 66925599259a absyntax/Makefile --- 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 diff -r 7f0cea717342 -r 66925599259a stage4/generate_iec/Makefile --- 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