absyntax/Makefile
changeset 243 bdfee1f5be9e
parent 172 bfa2e7806d7d
child 279 c0453b7f99df
--- 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