Updated makefiles for cygwin build with no perl
authorLolitech
Thu, 03 Jun 2010 12:59:32 +0200
changeset 243 bdfee1f5be9e
parent 242 0036357a990f
child 245 799466384604
Updated makefiles for cygwin build with no perl
Makefile
Makefile.CYGWIN_NT-5.1
absyntax/Makefile
absyntax_utils/Makefile
stage1_2/Makefile
stage3/Makefile
stage4/Makefile
stage4/generate_c/Makefile
stage4/generate_iec/Makefile
--- a/Makefile	Thu May 20 23:36:53 2010 +0200
+++ b/Makefile	Thu Jun 03 12:59:32 2010 +0200
@@ -66,7 +66,7 @@
 
 Makefile.depend depend:
 	$(CXX) -MM -MG -I. *.cc \
-	  | perl -pe 's/:/ Makefile.depend:/' > Makefile.depend
+	  | sed 's/:/ Makefile.depend:/' > Makefile.depend
 
 include Makefile.depend
 
--- a/Makefile.CYGWIN_NT-5.1	Thu May 20 23:36:53 2010 +0200
+++ b/Makefile.CYGWIN_NT-5.1	Thu Jun 03 12:59:32 2010 +0200
@@ -4,7 +4,7 @@
 #get warnings, debugging information and optimization
 CFLAGS  = -Wall -Wpointer-arith -Wwrite-strings
 # CFLAGS += -Werror
-CFLAGS += -ggdb
+# CFLAGS += -ggdb
 #CFLAGS += -O3 -funroll-loops
 # Note: if the optimizer crashes, we'll leave out the -O3 for those files
 
--- a/absyntax/Makefile	Thu May 20 23:36:53 2010 +0200
+++ b/absyntax/Makefile	Thu Jun 03 12:59:32 2010 +0200
@@ -27,3 +27,8 @@
 ../% /% absyntax/% stage1_2/% stage3/% stage4/% util/%:
 	        $(MAKE) -C $(@D) $(@F)
 
+Makefile.depend depend:
+	$(CXX) -MM -MG -I. *.cc \
+	  | sed 's/:/ Makefile.depend:/' > Makefile.depend
+
+include Makefile.depend
--- a/absyntax_utils/Makefile	Thu May 20 23:36:53 2010 +0200
+++ b/absyntax_utils/Makefile	Thu Jun 03 12:59:32 2010 +0200
@@ -39,7 +39,7 @@
 
 
 Makefile.depend depend:
-	$(CXX) -MM -MG -I. *.cc > Makefile.depend
-	#| perl -pe 's/:/ Makefile.depend:/' > Makefile.depend
+	$(CXX) -MM -MG -I. *.cc \
+	  | sed 's/:/ Makefile.depend:/' > Makefile.depend
 
 include Makefile.depend
--- a/stage1_2/Makefile	Thu May 20 23:36:53 2010 +0200
+++ b/stage1_2/Makefile	Thu Jun 03 12:59:32 2010 +0200
@@ -46,8 +46,9 @@
 
 
 Makefile.depend depend:
-	$(CXX) -MM -MG -I. *.cc > Makefile.depend
-	#| perl -pe 's/:/ Makefile.depend:/' > Makefile.depend
+	$(CXX) -MM -MG -I. *.cc \
+	  | sed 's/:/ Makefile.depend:/' > Makefile.depend
 
 include Makefile.depend
 
+
--- a/stage3/Makefile	Thu May 20 23:36:53 2010 +0200
+++ b/stage3/Makefile	Thu Jun 03 12:59:32 2010 +0200
@@ -22,7 +22,7 @@
 
 
 Makefile.depend depend:
-	$(CXX) -MM -MG -I. *.cc > Makefile.depend
-	#| perl -pe 's/:/ Makefile.depend:/' > Makefile.depend
+	$(CXX) -MM -MG -I. *.cc \
+	  | sed 's/:/ Makefile.depend:/' > Makefile.depend
 
-include Makefile.depend
\ No newline at end of file
+include Makefile.depend
--- a/stage4/Makefile	Thu May 20 23:36:53 2010 +0200
+++ b/stage4/Makefile	Thu Jun 03 12:59:32 2010 +0200
@@ -19,3 +19,8 @@
 ../% /% absyntax/% stage1_2/% stage3/% stage4/% util/%:
 	        $(MAKE) -C $(@D) $(@F)
 
+Makefile.depend depend:
+	$(CXX) -MM -MG -I. *.cc \
+	  | sed 's/:/ Makefile.depend:/' > Makefile.depend
+
+include Makefile.depend
--- a/stage4/generate_c/Makefile	Thu May 20 23:36:53 2010 +0200
+++ b/stage4/generate_c/Makefile	Thu Jun 03 12:59:32 2010 +0200
@@ -23,10 +23,6 @@
 
 Makefile.depend depend:
 	$(CXX) -MM -MG -I. *.cc \
-	  | perl -pe 's/:/ Makefile.depend:/' > Makefile.depend
+	  | sed 's/:/ Makefile.depend:/' > Makefile.depend
 
 include Makefile.depend
-
-
-
-
--- a/stage4/generate_iec/Makefile	Thu May 20 23:36:53 2010 +0200
+++ b/stage4/generate_iec/Makefile	Thu Jun 03 12:59:32 2010 +0200
@@ -23,10 +23,8 @@
 ../% /%:
 	$(MAKE) -C $(@D) $(@F)
 
-
 Makefile.depend depend:
 	$(CXX) -MM -MG -I. *.cc \
-	  | perl -pe 's/:/ Makefile.depend:/' > Makefile.depend
+	  | sed 's/:/ Makefile.depend:/' > Makefile.depend
 
 include Makefile.depend
-