📄 makefile
字号:
# Makefile for ...cwp/libSHELL = /bin/sh# Adapt the flags in the following paragraph to your systemSU = /files2/data5/zli/lfROOT = $(SU)/cwpUROOT = $(SU)/sltOPTC = -xO3 -fast# Search on the word "Comment" to complete adaptationI = $(ROOT)/include K = $(UROOT)/includeD = CC= ccCFLAGS= $(OPTC) -I$K -I$I#Comment out if your make knows about C libs.c.a: $(CC) -c $(CFLAGS) $< @ar rv $@ $*.o @rm -f $*.o.PRECIOUS: $(LIB)LIB = $(UROOT)/lib/libsubc.aARCH = \ $(LIB)(ieeefinite.o) \ $(LIB)(gettime.o) \ $(LIB)(intsln.o) \ $(LIB)(linefit.o) \ $(LIB)(msgsc.o) \ $(LIB)(pfft2d.o) \ $(LIB)(qkisort.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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -