1
0
Fork 0

Tweaking Makefile structure ..

This commit is contained in:
curt 1997-06-28 00:49:02 +00:00
parent 127b957f22
commit 3d3cd2bf1f

View file

@ -27,37 +27,20 @@
include make.inc include make.inc
#---------------------------------------------------------------------------
# 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 SUBDIRS = Aircraft Controls Flight mat3 Scenery Timer
MAIN = OpenGL MAIN = OpenGL
all: all:
for dir in $(SUBSUBDIRS) $(SUBDIRS); do \ for dir in $(SUBSUBDIRS) $(SUBDIRS) $(MAIN); do \
( cd $$dir; $(MAKE) ) ; \
done
for dir in $(MAIN); do \
( cd $$dir; $(MAKE) ) ; \ ( cd $$dir; $(MAKE) ) ; \
done done
depend: depend:
for dir in $(SUBSUBDIRS) $(SUBDIRS); do \ for dir in $(SUBSUBDIRS) $(SUBDIRS) $(MAIN); do \
( cd $$dir; $(MAKE) depend ) ; \ ( echo "Making depend in $$dir"; \
done cd $$dir; $(CC) -MM *.c > depend ) ; \
for dir in $(MAIN); do \
( cd $$dir; $(MAKE) depend ) ; \
done
dep:
for dir in $(SUBSUBDIRS) $(SUBDIRS); do \
( cd $$dir; $(CC) -MM *.c > depend ) ; \
done
for dir in $(MAIN); do \
( cd $$dir; $(CC) -MM *.c > depend ) ; \
done done
clean: clean:
@ -75,6 +58,9 @@ tar: clean
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# $Log$ # $Log$
# Revision 1.13 1997/06/28 00:49:02 curt
# Tweaking Makefile structure ..
#
# Revision 1.12 1997/06/27 21:37:59 curt # Revision 1.12 1997/06/27 21:37:59 curt
# Working on Makefile structure. # Working on Makefile structure.
# #