--- a/Makefile Mon Apr 04 10:42:03 2011 +0100
+++ b/Makefile Mon Apr 04 10:48:30 2011 +0100
@@ -24,7 +24,7 @@
-rm -f iec2iec iec2c *.o absyntax/*.o
echo > Makefile.depend
# make something everywhere (ie, in all Makefiles that have that target)
- find . -depth -mindepth 2 -maxdepth 2 -name Makefile -printf %h\\n | xargs -i make -C{} $@
+ find . -depth -mindepth 2 -maxdepth 2 -name Makefile | sed 's/Makefile//g' | xargs -I {} make -C{} clean
CXXFLAGS += -I.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile.Darwin Mon Apr 04 10:48:30 2011 +0100
@@ -0,0 +1,17 @@
+#CXX = i686-mingw32-c++
+CXX = g++
+
+#get warnings, debugging information and optimization
+CFLAGS = -Wall -Wpointer-arith -Wwrite-strings
+# CFLAGS += -Werror
+CFLAGS += -ggdb
+#CFLAGS += -O3 -funroll-loops
+# Note: if the optimizer crashes, we'll leave out the -O3 for those files
+
+#get warnings, debugging information and optimization
+#CXXFLAGS = -Wall -pedantic -Wpointer-arith -Wwrite-strings
+#CXXFLAGS += -ggdb
+#CXXFLAGS += -O3 -funroll-loops
+CXXFLAGS = $(CFLAGS)
+
+IECLIBDIR=lib
--- a/stage4/Makefile Mon Apr 04 10:42:03 2011 +0100
+++ b/stage4/Makefile Mon Apr 04 10:48:30 2011 +0100
@@ -10,7 +10,7 @@
clean:
rm -f *.o
- find . -depth -mindepth 2 -maxdepth 2 -name Makefile -printf %h\\n | xargs -i make -C{} $@
+ find . -depth -mindepth 2 -maxdepth 2 -name Makefile | sed 's/Makefile//g' | xargs -I {} make -C{} clean
CXXFLAGS += -I. -I../*