X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Simulator%2FMakefile;h=d59dddae5be3806a8c3fed755bd08d90dde107e4;hb=134d37d4498b7ef7b6953662c4a89ec5009ff32a;hp=eaf1bc3d6b6cb2318e3a2d2f5052c9ca6de11802;hpb=2f5bc89a7a1654cd313f075ede953396096f239b;p=flightgear.git diff --git a/Simulator/Makefile b/Simulator/Makefile index eaf1bc3d6..d59dddae5 100644 --- a/Simulator/Makefile +++ b/Simulator/Makefile @@ -98,7 +98,7 @@ export INTERFACE_FLAGS INTERFACE_LIBS GRAPHICS_LIBS # 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 @@ -111,12 +111,20 @@ all: ( 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: @@ -134,6 +142,9 @@ tar: 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. #