📄 makefile
字号:
# Makefile for ...xplot/libSHELL = /bin/sh# Adapt the flags in the following paragraph to your systemSU = /files2/data5/zli/lfROOT = $(SU)/cwpOPTC = -xO3 -fast -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64# Search on the word "Comment" to complete adaptationB = $(ROOT)/binI = $(ROOT)/includeL = $(ROOT)/lib# Safest to use next line, but ...#D = $I/xplot.hD = CC = $(CC)CFLAGS= $(OPTC) -I$ILFLAGS= -L$LLIB = $L/libxplot.aARCH = \ $(LIB)(axesbox.o) \ $(LIB)(colormap.o) \ $(LIB)(dump2xgraph.o) \ $(LIB)(dump2xplot.o) \ $(LIB)(fg2bg.o) \ $(LIB)(image.o) \ $(LIB)(legendbox.o) \ $(LIB)(xContour.o) \ $(LIB)(rubberbox.o) \ $(LIB)(window.o) \ $(LIB)(garnish.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.PRECIOUS: $(LIB)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -