📄 makefile
字号:
# Makefile for libgrid.aSHELL = /bin/sh# Adapt the flags in the following paragraph to your systemSU = /pad/data5/zli/lfROOT =$(SU)/cwpUROOT = $(SU)/sltOPTC = -xO3 -fast -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64# Search on the word "Comment" to complete adaptationI = $(ROOT)/includeK = $(UROOT)/includeD = CC = ccFC = $(FC)CFLAGS= $(OPTC) -I$K -I$IFFLAGS= $(OPTC) -I$K -I$ILIB = $(UROOT)/lib/libgrid.aARCH = \ $(LIB)(grids.o) \ $(LIB)(l2g.o) \ $(LIB)(usgheds.o)INSTALL: $(LIB) @touch $@$(ARCH) : $D$(LIB) : $(ARCH) ranlib $(LIB)remake : @rm -f $(LIB) @make ROOT=$(ROOT) OPTC=$(OPTC)list : ar tv $(LIB)clean: rm -f junk* core a.out# Can comment out if your make knows about C libs.c.a: @$(CC) -c $(CFLAGS) $< @ar rv $@ $*.o @rm -f $*.o.f.a: @$(FC) -c $(FFLAGS) $< @ar rv $@ $*.o @rm -f $*.o.PRECIOUS: $(LIB)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -