📄 makefile.linux
字号:
########################################################################################## # SCCS ID : "@(#)Makefile 1.9 01/07/05"## Copyright : DEIMOS Space S.L.# Project : REMASE## Module : Makefile# Purpose : It is the makefile of the G77 example## History +------------------------------------------------------------------------+# | Version | Date | Name | Change |# |---------|----------|--------------|------------------------------------|# | 4.1 | 17/01/97 | GMV, S.A. | First release |# +------------------------------------------------------------------------+# | 4.2 | 30/04/97 | GMV, S.A. | Second release |# +------------------------------------------------------------------------+# | 4.3 | 18/05/98 | GMV, S.A. | Third release |# +------------------------------------------------------------------------+# | 4.4 | 13/10/98 | GMV, S.A. | Fourth release |# +------------------------------------------------------------------------+# | 4.5 | 25/05/99 | GMV, S.A. | Fifth release |# +------------------------------------------------------------------------+# | 4.6 | 14/04/00 | GMV, S.A. | Sixth release |# +------------------------------------------------------------------------+# | 4.7 | 27/06/01 | GMV, S.A. | Seventh release |# +------------------------------------------------------------------------+# | 4.8 | 31/07/01 | GMV, S.A. | Eigth release |# +------------------------------------------------------------------------+# | 4.9 | 22/10/01 | DEIMOS Space | Ninth release |# +------------------------------------------------------------------------+# | 5.0 | 18/01/02 | DEIMOS Space | tenth release |# +------------------------------------------------------------------------+# | 5.1 | 25/11/02 | DEIMOS Space | Eleventh release |# +------------------------------------------------------------------------+# | 5.2 | 26/05/03 | DEIMOS Space | Twelfth release |# +------------------------------------------------------------------------+# | 5.3.1 | 15/02/05 | ESA/EOP-PES | Forteenth release |# +------------------------------------------------------------------------+# | 5.4 |17/05/05 | DEIMOS Space | Fifteenth release |# +------------------------------------------------------------------------+# ########################################################################################### Customization Area## set OS to your operating system (LINUX)OS = LINUX# set CC to your compiler (g77 for LINUX)CC = g77 -fno-underscoring# set CPP_OPT to "-WF," (for AIX only)CPP_OPT =# CPP_OPT = -WF,# set CFI_INCL to the directory where already installed CFI include files are storedCFI_INCL = ../../../include# set CFI_LIBS to the directory where already installed CFI library files are storedCFI_LIBS = ../../../lib/$(OS)# optionally select dynamic linking CFI libraries # DYN = _soDYN = ## End of Customization Area##########################################################################################CFI = ppf_pointingLANGUAGE = FEXT = _F#------------------------------------------------------------------------------# Set silent mode#------------------------------------------------------------------------------.SILENT :#------------------------------------------------------------------------------# Bash shell#------------------------------------------------------------------------------SHELL = /bin/bash#------------------------------------------------------------------------------# Compiler flags# --------------## I = header files directories##------------------------------------------------------------------------------CFLAGS = \ $(CPP_OPT)-I../../include \ $(CPP_OPT)-I$(CFI_INCL)#------------------------------------------------------------------------------# Linker tool, flags and libraries #------------------------------------------------------------------------------LIBS_DIR = \ -L../../lib/$(OS) \ -L$(CFI_LIBS)LIBS = \ -l$(CFI)$(DYN) \ -lppf_lib$(DYN) -lppf_orbit$(DYN) \ -lm -lc EXAMPLE = $(CFI)$(EXT)#------------------------------------------------------------------------------# Makefile default target#------------------------------------------------------------------------------default : example runexample: echo "--------------------" echo "$(CFI): ... creating the example" echo "--------------------" $(CC) $(CFLAGS) $(EXAMPLE).$(LANGUAGE) $(LIBS_DIR) $(LIBS) -o $(EXAMPLE)run: echo "--------------------" echo "$(CFI): ... running the example (you may want to redirect stderr)" echo "--------------------" sleep 1; echo "... 3 ..." sleep 1; echo "... 2 ..." sleep 1; echo "... 1 ..." sleep 1; echo "--- GO ---" sleep 1 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:../../lib/$(OS):$(CFI_LIBS); ./$(EXAMPLE)clean: \rm -f *.o *.out core *%
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -