2000-04-24 23:49:06 +00:00
|
|
|
INCLUDES = -I.
|
|
|
|
LINKDIR= -Lfiltersjb
|
|
|
|
JSBSim_objects = FGAircraft.o FGAtmosphere.o FGCoefficient.o FGFCS.o FGFDMExec.o\
|
|
|
|
FGModel.o FGOutput.o FGPosition.o FGRotation.o FGState.o FGTranslation.o\
|
|
|
|
FGUtility.o FGEngine.o FGTank.o FGAuxiliary.o FGfdmSocket.o\
|
|
|
|
FGConfigFile.o FGInitialCondition.o FGLGear.o FGMatrix.o
|
|
|
|
|
|
|
|
JSBSim : $(JSBSim_objects) JSBSim.o
|
|
|
|
echo "Making JSBSim"
|
|
|
|
cd filtersjb && make -fMakefile.solo && cd ..
|
|
|
|
g++ $(INCLUDES) $(CCOPTS) $(LINKDIR) $(JSBSim_objects) JSBSim.o -oJSBSim -lm -lFCSComponents
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGAircraft.o : FGAircraft.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGAircraft.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGAtmosphere.o : FGAtmosphere.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGAtmosphere.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGAuxiliary.o : FGAuxiliary.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGAuxiliary.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGCoefficient.o : FGCoefficient.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGCoefficient.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGFCS.o : FGFCS.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGFCS.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGFDMExec.o : FGFDMExec.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGFDMExec.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGModel.o : FGModel.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGModel.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGOutput.o : FGOutput.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGOutput.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGPosition.o : FGPosition.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGPosition.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGRotation.o : FGRotation.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGRotation.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGState.o : FGState.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGState.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGTranslation.o : FGTranslation.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGTranslation.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGUtility.o : FGUtility.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGUtility.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGEngine.o : FGEngine.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGEngine.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGTank.o : FGTank.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGTank.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
FGInitialCondition.o : FGInitialCondition.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGInitialCondition.cpp
|
|
|
|
|
|
|
|
FGfdmSocket.o : FGfdmSocket.cpp
|
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGfdmSocket.cpp
|
|
|
|
|
|
|
|
FGConfigFile.o : FGConfigFile.cpp
|
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGConfigFile.cpp
|
|
|
|
|
|
|
|
FGLGear.o : FGLGear.cpp
|
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGLGear.cpp
|
|
|
|
|
|
|
|
FGMatrix.o : FGMatrix.cpp
|
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c FGMatrix.cpp
|
|
|
|
|
1999-08-17 21:20:38 +00:00
|
|
|
JSBSim.o : JSBSim.cpp
|
2000-04-24 23:49:06 +00:00
|
|
|
g++ $(INCLUDES) $(CCOPTS) -c JSBSim.cpp
|
|
|
|
|
|
|
|
gpswitch.o: gptest.cpp
|
|
|
|
g++ -DSWITCH $(INCLUDES) $(CCOPTS) -c gptest.cpp -o gpswitch.o
|
|
|
|
|
|
|
|
gpaop.o: gptest.cpp
|
|
|
|
g++ -DAOP $(INCLUDES) $(CCOPTS) -c gptest.cpp -o gpaop.o
|
|
|
|
|
|
|
|
gpmap.o: gptest.cpp
|
|
|
|
g++ -DMAP $(INCLUDES) $(CCOPTS) -c gptest.cpp -o gpmap.o
|
|
|
|
|
|
|
|
gpswitch: $(JSBSim_objects) gpswitch.o
|
|
|
|
g++ -DSWITCH $(LINKDIR) -o gpswitch gpswitch.o $(JSBSim_objects) -lm -lFCSComponents
|
|
|
|
|
|
|
|
gpaop: $(JSBSim_objects) gpaop.o
|
|
|
|
g++ -Daop $(LINKDIR) -o gpaop gpaop.o $(JSBSim_objects) -lm -lFCSComponents
|
|
|
|
|
|
|
|
gpmap: $(JSBSim_objects) gpmap.o
|
|
|
|
g++ -Dmap $(LINKDIR) -o gpmap gpmap.o $(JSBSim_objects) -lm -lFCSComponents
|
1999-08-17 21:20:38 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
mv *.*~ backup
|
|
|
|
rm *.o
|
|
|
|
|
|
|
|
all:
|
|
|
|
touch *.cpp
|
|
|
|
make JSBSim
|
|
|
|
|
|
|
|
debug:
|
|
|
|
env CCOPTS=-g -WALL
|
|
|
|
make all
|