# You shouldn't need to modify anything beyond this point
#---------------------------------------------------------------------------
-SUBSUBDIRS = Flight/LaRCsim Flight/Slew Scenery/ParseScn Scenery/ParseVrml
+SUBSUBDIRS = Flight/LaRCsim Flight/Slew Scenery/ParseScn Scenery/ParseVRML
SUBDIRS = Aircraft Controls Flight mat3 Scenery Timer
MAIN = OpenGL
( cd $$dir; $(MAKE) ) ; \
done
+depend:
+ for dir in $(SUBSUBDIRS) $(SUBDIRS); do \
+ ( cd $$dir; $(MAKE) depend ) ; \
+ done
+ for dir in $(MAIN); do \
+ ( cd $$dir; $(MAKE) depend ) ; \
+ done
+
dep:
for dir in $(SUBSUBDIRS) $(SUBDIRS); do \
- ( cd $$dir; $(MAKE) dep ) ; \
+ ( cd $$dir; $(CC) -MM *.c > depend ) ; \
done
for dir in $(MAIN); do \
- ( cd $$dir; $(MAKE) dep ) ; \
+ ( cd $$dir; $(CC) -MM *.c > depend ) ; \
done
clean:
#---------------------------------------------------------------------------
# $Log$
+# Revision 1.11 1997/06/27 20:03:31 curt
+# Working on Makefile structure.
+#
# Revision 1.10 1997/06/26 19:08:22 curt
# Restructuring make, adding automatic "make dep" support.
#