stage4/Makefile
changeset 245 799466384604
parent 243 bdfee1f5be9e
child 268 1eba01e3fb70
--- a/stage4/Makefile	Wed Jun 02 18:21:15 2010 +0200
+++ b/stage4/Makefile	Wed Jun 16 21:52:17 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