📄 makefile
字号:
# Makefile for ...cwp/libSHELL = /bin/sh# Adapt the flags in the following paragraph to your systemSU = /net/denton/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)/include K = $(UROOT)/includeL = $(UROOT)/libD = CC = ccCFLAGS= $(OPTC) -I$K -I$IFFLAGS= -O3 -fast -I$K -I$ILIB = $L/libusu.aARCH = \ $(LIB)(dpf.o) \ $(LIB)(dipscn.o) \ $(LIB)(itov.o) \ $(LIB)(xy2sl.o) \ $(LIB)(xy2sldb.o) \ $(LIB)(sl2xy.o) \ $(LIB)(sl2xydb.o) \ $(LIB)(tar3.o) \ $(LIB)(f2p5.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 + -