⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 seismic software,very useful
💻
字号:
# Makefile for ...xplot/main# Just say "make"# xpwin is NOT automatically compiled (portability)SHELL = /bin/sh# Adapt the flags in the following paragraph to your systemSU = /pad/data5/zli/lfROOT = $(SU)/cwpOPTC = -xO3 -fast -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64B = /home/stgpzli/OS6bin/cwpI = $(ROOT)/includeL = $(ROOT)/lib#D = $I/cwp.h $I/par.h $I/xplot.h $L/libcwp.a $L/libpar.a $L/libxplot.aD = $L/libcwp.a $L/libpar.a $L/libxplot.aCC = $(CC)ENDIANFLAG = -DCWP_BIG_ENDIANCFLAGS= $(OPTC) -I$I $(ENDIANFLAG)LFLAGS= -L$L -lxplot -lX11 -lpar -lcwp -lmPROGS =			\	$B/lcmap	\	$B/lprop	\	$B/scmap	\	$B/xcontour	\	$B/ximage	\	$B/xpicker	\	$B/xwigbINSTALL:	$(PROGS)	@touch $@$(PROGS):	$D $$(@F).c	$(CC) $(CFLAGS) $(@F).c $(LFLAGS) -o $@	@chmod 755 $@	@echo $(@F) installed in $B# this one needs Display PostScript$B/xpwin:	$D xpwin.c	$(CC) $(CFLAGS) xpwin.c $(LFLAGS) -ldps -o $@	@chmod 755 $@	@echo $(@F) installed in $Bxpwin:	xpwin.c	$(CC) $(CFLAGS) xpwin.c $(LFLAGS) -ldps -o xpwin	# Some makes don't understand the $$ notation above.  In this case# you have to type out the compile paragraph for each PROG.  Sigh.# Here's a start, good luck.##$B/lcmap:	lcmap.c#	$(CC) $(CFLAGS) lcmap.c $(LFLAGS) -o $@#	@chmod 755 $@#	@echo $(@F) installed in $Bremake:	@touch *.c	@make ROOT=$(ROOT) OPTC=$(OPTC)clean	:	rm -f junk* core a.out *.o

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -