📄 makefile.linux
字号:
########################################################################################## # SCCS ID : "@(#)Makefile 1.9 00/04/13"## Copyright : DEIMOS Space S.L.# Project : REMASE## Module : Makefile# Purpose : It is the makefile of the G77 example## History +------------------------------------------------------------------------+# | Version | Date | Name | Change |# |---------|----------|--------------|------------------------------------|# | 2.1 | 05/12/97 | GMV, S.A. | First release |# | 2.2 | 18/05/98 | GMV, S.A. | Second release |# | 2.3 | 13/10/98 | GMV, S.A. | Third release |# | 2.4 | 25/05/99 | GMV, S.A. | Fourth release |# | 2.5 | 14/04/00 | GMV, S.A. | Fifth release |# | 2.6 | 22/06/01 | GMV, S.A. | Sixth release |# | 2.7 | 31/07/01 | GMV, S.A. | Seventh release |# | 2.8 | 22/10/01 | DEIMOS Space | Eigth release |# | 3.0 | 18/01/02 | DEIMOS Space | Ninth release |# | 3.1 | 25/11/02 | DEIMOS Space | Tenth release |# | 3.2 | 26/05/03 | DEIMOS Space | Eleventh release |# | 3.3 | 13/12/04 | DEIMOS Space | Twelfth release |# | 3.3.1 | 15/02/05 | ESA/EOP-PES | Thirteenth 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)## End of Customization Area##########################################################################################CFI = ppf_genrefLANGUAGE = 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) \ -lppf_pointing \ -lppf_orbit \ -lppf_lib \ -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; ./$(EXAMPLE)clean: \rm -f *.o *.out core *%
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -