absyntax/Makefile
changeset 258 d7d92b2f87e9
parent 243 bdfee1f5be9e
child 279 c0453b7f99df
--- a/absyntax/Makefile	Wed Mar 30 19:53:32 2011 +0100
+++ b/absyntax/Makefile	Thu Mar 31 10:45:34 2011 +0100
@@ -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