First stab at a system to generate os2 makefiles automatically.
This commit is contained in:
parent
01fa9ad22c
commit
a136c87441
10 changed files with 106 additions and 26 deletions
|
@ -48,7 +48,7 @@ $(TARGET): $(OFILES) $(HFILES)
|
|||
all: $(TARGET)
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET) lib*.a *~ core
|
||||
rm -f *.o $(TARGET) lib*.a *.os2 *~ core
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
@ -58,11 +58,14 @@ clean:
|
|||
include depend
|
||||
|
||||
aircraft.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c aircraft.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c aircraft.c -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# $Log$
|
||||
# Revision 1.9 1997/07/20 02:19:09 curt
|
||||
# First stab at a system to generate os2 makefiles automatically.
|
||||
#
|
||||
# Revision 1.8 1997/07/12 02:24:37 curt
|
||||
# Added ranlib.
|
||||
#
|
||||
|
|
|
@ -48,7 +48,7 @@ $(TARGET): $(OFILES)
|
|||
all: $(TARGET)
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET) lib*.a *~ core
|
||||
rm -f *.o $(TARGET) lib*.a *.os2 *~ core
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
@ -58,11 +58,14 @@ clean:
|
|||
include depend
|
||||
|
||||
controls.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c controls.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c controls.c -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# $Log$
|
||||
# Revision 1.10 1997/07/20 02:19:10 curt
|
||||
# First stab at a system to generate os2 makefiles automatically.
|
||||
#
|
||||
# Revision 1.9 1997/07/12 02:24:45 curt
|
||||
# Added ranlib.
|
||||
#
|
||||
|
|
|
@ -47,7 +47,7 @@ $(TARGET): $(OFILES)
|
|||
all: $(TARGET)
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET) lib*.a *~ core
|
||||
rm -f *.o $(TARGET) lib*.a *.os2 *~ core
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
@ -57,11 +57,14 @@ clean:
|
|||
include depend
|
||||
|
||||
flight.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c flight.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c flight.c -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# $Log$
|
||||
# Revision 1.10 1997/07/20 02:19:10 curt
|
||||
# First stab at a system to generate os2 makefiles automatically.
|
||||
#
|
||||
# Revision 1.9 1997/07/12 02:24:46 curt
|
||||
# Added ranlib.
|
||||
#
|
||||
|
|
|
@ -44,7 +44,7 @@ simtest: $(TARGET) LaRCsim.o
|
|||
all: $(TARGET)
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET) lib*.a *~ core
|
||||
rm -f *.o $(TARGET) lib*.a *.os2 *~ core
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
@ -53,9 +53,54 @@ clean:
|
|||
|
||||
include depend
|
||||
|
||||
atmos_62.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
default_model_routines.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
ls_accel.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
ls_aux.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
ls_geodesy.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
ls_gravity.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
ls_init.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
ls_interface.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
ls_model.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
ls_step.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
navion_aero.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
navion_engine.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
navion_gear.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
navion_init.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# $Log$
|
||||
# Revision 1.10 1997/07/20 02:19:10 curt
|
||||
# First stab at a system to generate os2 makefiles automatically.
|
||||
#
|
||||
# Revision 1.9 1997/07/18 23:41:23 curt
|
||||
# Tweaks for building with Cygnus Win32 compiler.
|
||||
#
|
||||
|
|
|
@ -52,7 +52,7 @@ $(TARGET): $(OFILES) $(AFILES)
|
|||
all: $(TARGET)
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET) $(TARGET).exe lib*.a *~ core
|
||||
rm -f *.o $(TARGET) $(TARGET).exe lib*.a *.os2 *~ core
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
@ -62,20 +62,23 @@ clean:
|
|||
include depend
|
||||
|
||||
GLmain.o:
|
||||
$(CC) $(CFLAGS) -c GLmain.c
|
||||
$(CC) $(CFLAGS) -c GLmain.c -o $@
|
||||
|
||||
GLUTkey.o:
|
||||
$(CC) $(CFLAGS) -c GLUTkey.c
|
||||
$(CC) $(CFLAGS) -c GLUTkey.c -o $@
|
||||
|
||||
GLTKkey.o:
|
||||
$(CC) $(CFLAGS) -c GLTKkey.c
|
||||
$(CC) $(CFLAGS) -c GLTKkey.c -o $@
|
||||
|
||||
mesh2GL.o:
|
||||
$(CC) $(CFLAGS) -c mesh2GL.c
|
||||
$(CC) $(CFLAGS) -c mesh2GL.c -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# $Log$
|
||||
# Revision 1.25 1997/07/20 02:19:11 curt
|
||||
# First stab at a system to generate os2 makefiles automatically.
|
||||
#
|
||||
# Revision 1.24 1997/07/19 23:04:47 curt
|
||||
# Added an initial weather section.
|
||||
#
|
||||
|
|
|
@ -48,7 +48,7 @@ $(TARGET): $(OFILES) $(HFILES)
|
|||
all: $(TARGET)
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET) lib*.a *~ core
|
||||
rm -f *.o $(TARGET) lib*.a *.os2 *~ core
|
||||
|
||||
realclean: clean
|
||||
rm -f scanner.c parser.c parser.h parser.output
|
||||
|
@ -70,25 +70,28 @@ parser.c: parser.y
|
|||
$(BISON) -o parser.c parser.y
|
||||
|
||||
scanner.o: scanner.c
|
||||
$(CC) $(CFLAGS) -c scanner.c
|
||||
$(CC) $(CFLAGS) -c scanner.c -o $@
|
||||
|
||||
parser.o: parser.c
|
||||
$(CC) $(CFLAGS) -c parser.c
|
||||
$(CC) $(CFLAGS) -c parser.c -o $@
|
||||
|
||||
common.o:
|
||||
$(CC) $(CFLAGS) -c common.c
|
||||
$(CC) $(CFLAGS) -c common.c -o $@
|
||||
|
||||
mesh.o:
|
||||
$(CC) $(CFLAGS) -c mesh.c
|
||||
$(CC) $(CFLAGS) -c mesh.c -o $@
|
||||
|
||||
scenery.o:
|
||||
$(CC) $(CFLAGS) -c scenery.c
|
||||
$(CC) $(CFLAGS) -c scenery.c -o $@
|
||||
|
||||
geometry.o:
|
||||
$(CC) $(CFLAGS) -c geometry.c
|
||||
$(CC) $(CFLAGS) -c geometry.c -o $@
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# $Log$
|
||||
# Revision 1.16 1997/07/20 02:19:11 curt
|
||||
# First stab at a system to generate os2 makefiles automatically.
|
||||
#
|
||||
# Revision 1.15 1997/07/12 02:24:47 curt
|
||||
# Added ranlib.
|
||||
#
|
||||
|
|
|
@ -43,8 +43,16 @@ depend:
|
|||
cd $$dir; $(CC) -MM *.c > depend ) ; \
|
||||
done
|
||||
|
||||
Makefile-os2:
|
||||
cat Makefile | perl mkmfos2.pl > Makefile.os2; \
|
||||
for dir in $(SUBSUBDIRS) $(SUBDIRS) $(MAIN); do \
|
||||
( echo "Making Makefile.os2 in $$dir"; \
|
||||
cat $$dir/Makefile | perl mkmfos2.pl > $$dir/Makefile.os2; \
|
||||
cat $$dir/depend | perl mkmfos2.pl > $$dir/depend.os2) ; \
|
||||
done
|
||||
|
||||
clean:
|
||||
-rm -f *~
|
||||
-rm -f *.os2 *~
|
||||
for dir in $(SUBSUBDIRS) $(SUBDIRS) $(MAIN); do \
|
||||
(cd $$dir; $(MAKE) clean) ; \
|
||||
done
|
||||
|
@ -63,6 +71,9 @@ zip: clean
|
|||
|
||||
#---------------------------------------------------------------------------
|
||||
# $Log$
|
||||
# Revision 1.20 1997/07/20 02:19:09 curt
|
||||
# First stab at a system to generate os2 makefiles automatically.
|
||||
#
|
||||
# Revision 1.19 1997/07/19 23:04:46 curt
|
||||
# Added an initial weather section.
|
||||
#
|
||||
|
|
|
@ -47,7 +47,7 @@ $(TARGET): $(OFILES)
|
|||
all: $(TARGET)
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET) lib*.a *~ core
|
||||
rm -f *.o $(TARGET) lib*.a *.os2 *~ core
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
@ -57,11 +57,14 @@ clean:
|
|||
include depend
|
||||
|
||||
slew.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c slew.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c slew.c -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# $Log$
|
||||
# Revision 1.8 1997/07/20 02:19:10 curt
|
||||
# First stab at a system to generate os2 makefiles automatically.
|
||||
#
|
||||
# Revision 1.7 1997/07/12 02:24:49 curt
|
||||
# Added ranlib.
|
||||
#
|
||||
|
|
|
@ -48,7 +48,7 @@ $(TARGET): $(OFILES)
|
|||
all: $(TARGET)
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET) lib*.a *~ core
|
||||
rm -f *.o $(TARGET) lib*.a *.os2 *~ core
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
@ -58,11 +58,14 @@ clean:
|
|||
include depend
|
||||
|
||||
fg_timer.o:
|
||||
$(CC) $(CFLAGS) -c fg_timer.c
|
||||
$(CC) $(CFLAGS) -c fg_timer.c -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# $Log$
|
||||
# Revision 1.9 1997/07/20 02:19:12 curt
|
||||
# First stab at a system to generate os2 makefiles automatically.
|
||||
#
|
||||
# Revision 1.8 1997/07/14 16:26:05 curt
|
||||
# Testing/playing -- placed objects randomly across the entire terrain.
|
||||
#
|
||||
|
|
|
@ -48,7 +48,7 @@ $(TARGET): $(OFILES)
|
|||
all: $(TARGET)
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET) lib*.a *~ core
|
||||
rm -f *.o $(TARGET) lib*.a *.os2 *~ core
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
@ -58,11 +58,14 @@ clean:
|
|||
include depend
|
||||
|
||||
weather.o:
|
||||
$(CC) $(CFLAGS) -c weather.c
|
||||
$(CC) $(CFLAGS) -c weather.c -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# $Log$
|
||||
# Revision 1.2 1997/07/20 02:19:12 curt
|
||||
# First stab at a system to generate os2 makefiles automatically.
|
||||
#
|
||||
# Revision 1.1 1997/07/19 23:03:57 curt
|
||||
# Initial revision.
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue