📄 makefile
字号:
# 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -