1
0
Fork 0

Working on Makefile structure.

This commit is contained in:
curt 1997-06-27 20:03:31 +00:00
parent 2f5bc89a7a
commit 134d37d449
10 changed files with 63 additions and 23 deletions

View file

@ -49,8 +49,8 @@ $(TARGET): $(OFILES) $(HFILES)
all: $(TARGET)
dep:
$(CC) -MM *.c > depend
# depend:
# $(CC) -MM *.c > depend
clean:
rm -f *.o $(TARGET) lib*.a *~ core
@ -68,6 +68,9 @@ aircraft.o:
#---------------------------------------------------------------------------
# $Log$
# Revision 1.6 1997/06/27 20:03:32 curt
# Working on Makefile structure.
#
# Revision 1.5 1997/06/26 19:08:28 curt
# Restructuring make, adding automatic "make dep" support.
#

View file

@ -49,8 +49,8 @@ $(TARGET): $(OFILES)
all: $(TARGET)
dep:
$(CC) -MM *.c > depend
# depend:
# $(CC) -MM *.c > depend
clean:
rm -f *.o $(TARGET) lib*.a *~ core
@ -68,6 +68,9 @@ controls.o:
#---------------------------------------------------------------------------
# $Log$
# Revision 1.7 1997/06/27 20:03:33 curt
# Working on Makefile structure.
#
# Revision 1.6 1997/06/26 19:08:29 curt
# Restructuring make, adding automatic "make dep" support.
#

View file

@ -48,8 +48,10 @@ $(TARGET): $(OFILES)
all: $(TARGET)
dep:
$(CC) -MM *.c > depend
# depend:
# $(CC) -MM *.c > depend
dep: depend
clean:
rm -f *.o $(TARGET) lib*.a *~ core
@ -67,6 +69,9 @@ flight.o:
#---------------------------------------------------------------------------
# $Log$
# Revision 1.7 1997/06/27 20:03:34 curt
# Working on Makefile structure.
#
# Revision 1.6 1997/06/26 19:08:30 curt
# Restructuring make, adding automatic "make dep" support.
#

View file

@ -43,8 +43,8 @@ simtest: $(TARGET) LaRCsim.o
all: $(TARGET)
dep:
$(CC) -MM *.c > depend
# depend:
# $(CC) -MM *.c > depend
clean:
rm -f *.o $(TARGET) *~ core
@ -59,6 +59,9 @@ include depend
#---------------------------------------------------------------------------
# $Log$
# Revision 1.5 1997/06/27 20:03:34 curt
# Working on Makefile structure.
#
# Revision 1.4 1997/06/26 19:08:30 curt
# Restructuring make, adding automatic "make dep" support.
#

View file

@ -79,8 +79,8 @@ $(TARGET): $(OFILES) $(AFILES)
all: $(TARGET)
dep:
$(CC) -MM *.c > depend
# depend:
# $(CC) -MM *.c > depend
clean:
rm -f *.o $(TARGET) lib*.a *~ core
@ -107,6 +107,9 @@ mesh2GL.o:
#---------------------------------------------------------------------------
# $Log$
# Revision 1.18 1997/06/27 20:03:36 curt
# Working on Makefile structure.
#
# Revision 1.17 1997/06/26 22:14:54 curt
# Beginning work on a scenery management system.
#

View file

@ -47,8 +47,8 @@ $(TARGET): $(OFILES) $(HFILES)
all: $(TARGET)
dep:
$(CC) -MM *.c > depend
# depend:
# $(CC) -MM *.c > depend
clean:
rm -f *.o $(TARGET) lib*.a *~ core
@ -72,6 +72,9 @@ scenery.o:
#---------------------------------------------------------------------------
# $Log$
# Revision 1.12 1997/06/27 20:03:37 curt
# Working on Makefile structure.
#
# Revision 1.11 1997/06/26 22:14:57 curt
# Beginning work on a scenery management system.
#

View file

@ -25,7 +25,7 @@
#include "scenery.h"
#include "ParseVrml/parsevrml.h"
#include "ParseVRML/parsevrml.h"
/* Initialize the Scenery Management system */
@ -51,7 +51,10 @@ void fgSceneryRender() {
/* $Log$
/* Revision 1.1 1997/06/27 02:26:30 curt
/* Initial revision.
/* Revision 1.2 1997/06/27 20:03:37 curt
/* Working on Makefile structure.
/*
* Revision 1.1 1997/06/27 02:26:30 curt
* Initial revision.
*
*/

View file

@ -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
dep:
depend:
for dir in $(SUBSUBDIRS) $(SUBDIRS); do \
( cd $$dir; $(MAKE) dep ) ; \
( cd $$dir; $(MAKE) depend ) ; \
done
for dir in $(MAIN); do \
( cd $$dir; $(MAKE) dep ) ; \
( 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
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.
#

View file

@ -48,8 +48,8 @@ $(TARGET): $(OFILES)
all: $(TARGET)
dep:
$(CC) -MM *.c > depend
# depend:
# $(CC) -MM *.c > depend
clean:
rm -f *.o $(TARGET) lib*.a *~ core
@ -67,6 +67,9 @@ slew.o:
#---------------------------------------------------------------------------
# $Log$
# Revision 1.5 1997/06/27 20:03:36 curt
# Working on Makefile structure.
#
# Revision 1.4 1997/06/26 19:08:31 curt
# Restructuring make, adding automatic "make dep" support.
#

View file

@ -49,8 +49,8 @@ $(TARGET): $(OFILES)
all: $(TARGET)
dep:
$(CC) -MM *.c > depend
# depend:
# $(CC) -MM *.c > depend
clean:
rm -f *.o $(TARGET) lib*.a *~ core
@ -68,6 +68,9 @@ fg_timer.o:
#---------------------------------------------------------------------------
# $Log$
# Revision 1.5 1997/06/27 20:03:40 curt
# Working on Makefile structure.
#
# Revision 1.4 1997/06/26 19:08:37 curt
# Restructuring make, adding automatic "make dep" support.
#