makefile

来自「phase unwrapping algorithm for SAR inter」· 代码 · 共 55 行

TXT
55
字号
# Makefile for statistical-cost network-flow algorithm for phase unwrapping # Curtis W. Chen# Copyright 2002 Board of Trustees, Leland Stanford Jr. University# Specify your compiler (CC), whatever compiler flags (CFLAGS) you# need, and the directory (BINDIR) in which the produced binary should# be written.## If you want to copy the man page and executable to a system directory, # specify the appropriate directories in the INSTALLDIR and MANDIR # variables and do 'make install' (you will probably need to be root).## If you specify -D NO_CS2, the program will be compiled without the# CS2 MCF solver module.CC		=	cc CFLAGS		=	-O3   # -D NO_CS2LIBS		=	-lm BINDIR		=	../binINSTALLDIR	=	/usr/local/binMANDIR		=	/usr/local/manSNAPHU		=	$(BINDIR)/snaphuSNAPHUMAN	=	../man/man1/snaphu.1OBJS		=	snaphu_tile.o \			snaphu_solver.o \			snaphu_io.o \			snaphu_util.o \			snaphu_cost.o \			snaphu_cs2.o all:		$(SNAPHU)$(SNAPHU):	snaphu.c $(OBJS) snaphu.h Makefile 		$(CC) $(CFLAGS) \		snaphu.c \		$(OBJS) \		-o $(SNAPHU) \		$(LIBS)install:	$(SNAPHU)		cp $(SNAPHU) $(INSTALLDIR);		cp $(SNAPHUMAN) $(MANDIR)/man1/clean:		@rm -f *.oClean:		@rm -f *.o *~ #*#clobber:		@rm -f $(SNAPHU)# end of Makefile

⌨️ 快捷键说明

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