📄 makefile
字号:
## makefile for OpenGPSRec# creates module ogrt_module.o (RT process) # and ogr_main (user process)#CC=gccLD=ldLINUX_HDR=/usr/src/linux/includeRTAI_HDR=/usr/src/rtai/includeOGR_HDR=../includeBINDIR=../../bin# adjust include directories accordinglyCFLAGS=-O2 -I$(RTAI_HDR) -I$(LINUX_HDR) -I$(OGR_HDR) -Wall \ -Wstrict-prototypes -Wno-trigraphs -fomit-frame-pointer \ -fno-strict-aliasing -fno-common -pipe#CFLAGS=-g -I$(RTAI_HDR) -I$(LINUX_HDR) -I$(OGR_HDR) -Wall \# -Wstrict-prototypes -Wno-trigraphs -fomit-frame-pointer \# -fno-strict-aliasing -fno-common -pipeDEP=$(OGR_HDR)/ogr_defines.h $(OGR_HDR)/ogr_structs.h \ $(OGR_HDR)/ogr_globals.hDEPR=$(OGR_HDR)/ogr_defines.h $(OGR_HDR)/ogrt_defines.h \ $(OGR_HDR)/ogr_structs.h $(OGR_HDR)/ogr_globals.h $(OGR_HDR)/ogrt_globals.hall: ogr_main ogrt_module.o mv ogrt_module.o $(BINDIR) mv ogr_main $(BINDIR)# create real-time moduleogrt_gp2021.o: ogrt_gp2021.c $(DEP) $(DEPR) $(CC) $(CFLAGS) -c -D__KERNEL__ -DMODULE ogrt_gp2021.cogrt_inout.o: ogrt_inout.c $(DEP) $(DEPR) $(CC) $(CFLAGS) -c -D__KERNEL__ -DMODULE ogrt_inout.cogrt_maths.o: ogrt_maths.c $(DEP) $(DEPR) $(CC) $(CFLAGS) -c -D__KERNEL__ -DMODULE ogrt_maths.cogrt_proc.o: ogrt_proc.c $(DEP) $(DEPR) $(CC) $(CFLAGS) -c -D__KERNEL__ -DMODULE ogrt_proc.cogrt_preamble.o: ogrt_preamble.c $(DEP) $(DEPR) $(CC) $(CFLAGS) -c -D__KERNEL__ -DMODULE ogrt_preamble.cogrt_multisat.o: ogrt_multisat.c $(DEP) $(DEPR) $(CC) $(CFLAGS) -c -D__KERNEL__ -DMODULE ogrt_multisat.cogrt_monosat.o: ogrt_monosat.c $(DEP) $(DEPR) $(CC) $(CFLAGS) -c -D__KERNEL__ -DMODULE ogrt_monosat.cogrt_riseset.o: ogrt_riseset.c $(DEP) $(DEPR) $(CC) $(CFLAGS) -c -D__KERNEL__ -DMODULE ogrt_riseset.cogrt_module.o: ogrt_gp2021.o ogrt_inout.o ogrt_maths.o \ ogrt_preamble.o ogrt_proc.o ogrt_multisat.o ogrt_monosat.o \ ogrt_riseset.o $(LD) -r ogrt_gp2021.o ogrt_inout.o ogrt_maths.o \ ogrt_preamble.o ogrt_proc.o ogrt_multisat.o ogrt_monosat.o \ ogrt_riseset.o -o ogrt_module.oogr_inout.o: ogr_inout.c $(DEP) $(CC) $(CFLAGS) -c ogr_inout.cogr_msgdump.o: ogr_msgdump.c $(DEP) $(CC) $(CFLAGS) -c ogr_msgdump.cogr_navdecode.o: ogr_navdecode.c $(DEP) $(CC) $(CFLAGS) -c ogr_navdecode.cogr_sched.o: ogr_sched.c $(DEP) $(CC) $(CFLAGS) -c ogr_sched.cogr_solveosg.o: ogr_solveosg.c $(DEP) $(CC) $(CFLAGS) -c ogr_solveosg.cogr_solvessvl.o: ogr_solvessvl.c $(DEP) $(CC) $(CFLAGS) -c ogr_solvessvl.cogr_tools.o: ogr_tools.c $(DEP) $(CC) $(CFLAGS) -c ogr_tools.cogr_timefun.o: ogr_timefun.c $(DEP) $(CC) $(CFLAGS) -c ogr_timefun.cogr_main.o: ogr_main.c $(DEP) $(CC) $(CFLAGS) -c ogr_main.cogr_main: ogr_main.o ogr_solveosg.o ogr_solvessvl.o \ ogr_navdecode.o ogr_inout.o ogr_sched.o ogr_timefun.o \ ogr_tools.o ogr_msgdump.o $(CC) -o ogr_main ogr_main.o ogr_msgdump.o \ ogr_solveosg.o ogr_solvessvl.o ogr_navdecode.o \ ogr_inout.o ogr_sched.o ogr_timefun.o ogr_tools.o -lm
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -