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) all: $(TARGET)
dep: # depend:
$(CC) -MM *.c > depend # $(CC) -MM *.c > depend
clean: clean:
rm -f *.o $(TARGET) lib*.a *~ core rm -f *.o $(TARGET) lib*.a *~ core
@ -68,6 +68,9 @@ aircraft.o:
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# $Log$ # $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 # Revision 1.5 1997/06/26 19:08:28 curt
# Restructuring make, adding automatic "make dep" support. # Restructuring make, adding automatic "make dep" support.
# #

View file

@ -49,8 +49,8 @@ $(TARGET): $(OFILES)
all: $(TARGET) all: $(TARGET)
dep: # depend:
$(CC) -MM *.c > depend # $(CC) -MM *.c > depend
clean: clean:
rm -f *.o $(TARGET) lib*.a *~ core rm -f *.o $(TARGET) lib*.a *~ core
@ -68,6 +68,9 @@ controls.o:
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# $Log$ # $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 # Revision 1.6 1997/06/26 19:08:29 curt
# Restructuring make, adding automatic "make dep" support. # Restructuring make, adding automatic "make dep" support.
# #

View file

@ -48,8 +48,10 @@ $(TARGET): $(OFILES)
all: $(TARGET) all: $(TARGET)
dep: # depend:
$(CC) -MM *.c > depend # $(CC) -MM *.c > depend
dep: depend
clean: clean:
rm -f *.o $(TARGET) lib*.a *~ core rm -f *.o $(TARGET) lib*.a *~ core
@ -67,6 +69,9 @@ flight.o:
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# $Log$ # $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 # Revision 1.6 1997/06/26 19:08:30 curt
# Restructuring make, adding automatic "make dep" support. # Restructuring make, adding automatic "make dep" support.
# #

View file

@ -43,8 +43,8 @@ simtest: $(TARGET) LaRCsim.o
all: $(TARGET) all: $(TARGET)
dep: # depend:
$(CC) -MM *.c > depend # $(CC) -MM *.c > depend
clean: clean:
rm -f *.o $(TARGET) *~ core rm -f *.o $(TARGET) *~ core
@ -59,6 +59,9 @@ include depend
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# $Log$ # $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 # Revision 1.4 1997/06/26 19:08:30 curt
# Restructuring make, adding automatic "make dep" support. # Restructuring make, adding automatic "make dep" support.
# #

View file

@ -79,8 +79,8 @@ $(TARGET): $(OFILES) $(AFILES)
all: $(TARGET) all: $(TARGET)
dep: # depend:
$(CC) -MM *.c > depend # $(CC) -MM *.c > depend
clean: clean:
rm -f *.o $(TARGET) lib*.a *~ core rm -f *.o $(TARGET) lib*.a *~ core
@ -107,6 +107,9 @@ mesh2GL.o:
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# $Log$ # $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 # Revision 1.17 1997/06/26 22:14:54 curt
# Beginning work on a scenery management system. # Beginning work on a scenery management system.
# #

View file

@ -47,8 +47,8 @@ $(TARGET): $(OFILES) $(HFILES)
all: $(TARGET) all: $(TARGET)
dep: # depend:
$(CC) -MM *.c > depend # $(CC) -MM *.c > depend
clean: clean:
rm -f *.o $(TARGET) lib*.a *~ core rm -f *.o $(TARGET) lib*.a *~ core
@ -72,6 +72,9 @@ scenery.o:
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# $Log$ # $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 # Revision 1.11 1997/06/26 22:14:57 curt
# Beginning work on a scenery management system. # Beginning work on a scenery management system.
# #

View file

@ -25,7 +25,7 @@
#include "scenery.h" #include "scenery.h"
#include "ParseVrml/parsevrml.h" #include "ParseVRML/parsevrml.h"
/* Initialize the Scenery Management system */ /* Initialize the Scenery Management system */
@ -51,7 +51,10 @@ void fgSceneryRender() {
/* $Log$ /* $Log$
/* Revision 1.1 1997/06/27 02:26:30 curt /* Revision 1.2 1997/06/27 20:03:37 curt
/* Initial revision. /* 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 # 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
@ -111,12 +111,20 @@ all:
( cd $$dir; $(MAKE) ) ; \ ( cd $$dir; $(MAKE) ) ; \
done done
dep: depend:
for dir in $(SUBSUBDIRS) $(SUBDIRS); do \ for dir in $(SUBSUBDIRS) $(SUBDIRS); do \
( cd $$dir; $(MAKE) dep ) ; \ ( cd $$dir; $(MAKE) depend ) ; \
done done
for dir in $(MAIN); do \ 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 done
clean: clean:
@ -134,6 +142,9 @@ tar: clean
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# $Log$ # $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 # Revision 1.10 1997/06/26 19:08:22 curt
# Restructuring make, adding automatic "make dep" support. # Restructuring make, adding automatic "make dep" support.
# #

View file

@ -48,8 +48,8 @@ $(TARGET): $(OFILES)
all: $(TARGET) all: $(TARGET)
dep: # depend:
$(CC) -MM *.c > depend # $(CC) -MM *.c > depend
clean: clean:
rm -f *.o $(TARGET) lib*.a *~ core rm -f *.o $(TARGET) lib*.a *~ core
@ -67,6 +67,9 @@ slew.o:
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# $Log$ # $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 # Revision 1.4 1997/06/26 19:08:31 curt
# Restructuring make, adding automatic "make dep" support. # Restructuring make, adding automatic "make dep" support.
# #

View file

@ -49,8 +49,8 @@ $(TARGET): $(OFILES)
all: $(TARGET) all: $(TARGET)
dep: # depend:
$(CC) -MM *.c > depend # $(CC) -MM *.c > depend
clean: clean:
rm -f *.o $(TARGET) lib*.a *~ core rm -f *.o $(TARGET) lib*.a *~ core
@ -68,6 +68,9 @@ fg_timer.o:
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# $Log$ # $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 # Revision 1.4 1997/06/26 19:08:37 curt
# Restructuring make, adding automatic "make dep" support. # Restructuring make, adding automatic "make dep" support.
# #