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

📄 makefile

📁 这是一个新的用于图像处理的工具箱
💻
字号:
# Makefile for qhull and rbox#Commands added for compilation on HP computers and for the MEX interface. # This makefile should be called from ../.. in order to get definitions# for INCLUDE and SFX# The MEX file is automatically moved to the parent directory.#See the qhull.m file for a MATLAB synopsis of the function.#(R. Schreier, July 1995)##       see README##	make           to produce qhull, rbox, qhull.1, and rbox.1#	make qhullx    to produce qhull w/o using libqhull.a#	make doc       to print documentation#	make install   to copy qhull, rbox, qhull.1, rbox.1 to BINDIR, MANDIR#	make new       to rebuild qhull, rbox, qhull.1, and rbox.1 from source##	make printall  to print all files#	make user_eg   to produce user_eg#	make clean     to remove object files and core#	make cleanall  to remove all generated files##	PRINTMAN --  command for printing manual pages#	PRINTC --  command for printing C files#       BINDIR -- directory where to copy executables#       MANDIR -- directory where to copy manual pages#       CC --     ANSI C compiler#       CCOPTS1 - options used to compile .c files#       CCOPTS2 -- options used to link .o files##       CFILES -- .c files for printing#       HFILES -- .h files for printing#       DFILES -- documentation files#	MFILES -- man pages#	FILES -- all other files#       OBJS -- specifies the object files of libqhull.a#BINDIR  = ./binMANDIR  = ./man# if you do not have enscript, try a2ps or just use lpr.  The files are text.PRINTMAN = enscript -2rlPRINTC = enscript -2r# PRINTMAN = lpr# PRINTC = lpr#for Gnu's gcc compiler -O2 for optimization, -g for debugging, -Wall for check##CC     = gcc#CCOPTS1 = -O2 -ansi #for HP's cc compiler -Aa for ANSI mode, -O for optimization(NOT YET)# +z for PIC (needed for cmex to work)#CC     = ccCCOPTS1 = -Aa +z# for Sun's cc compiler, -fast or O2 for optimization, -g for debugging, -Xc for ANSI#CC = cc#CCOPTS1 = -Xc -v -fast# for Silicon Graphics cc compiler, -O2 for optimization, -g for debugging#CC = cc#CCOPTS1 = -ansi -O2# for Next cc compiler with fat executable#CC = cc#CCOPTS1 = -ansi -O2 -arch m68k -arch i386 -arch hppa# for loader, ldCCOPTS2 = $(CCOPTS1)# OBJS in execution frequency order.  CFILES after qhull.c are alphabeticalOBJS = global.o stat.o geom2.o poly2.o io.o merge.o qhull.o \       mem.o set.o poly.o geom.oCFILES= unix.c qhull.c geom.c geom2.c global.c io.c mem.c merge.c poly.c \        poly2.c set.c stat.cHFILES= user.h qhull.h qhull_a.h geom.h io.h mem.h merge.h poly.h set.h stat.hDFILES=  README Announce Changes REGISTER COPYINGFILES=  Makefile qhull.man rbox.man rbox.c user_eg.c q_test q_egtest q_egMFILES= qhull.1 rbox.1# These are overridden when called from ../../MakefileSFX = mexhp7INCLUDE = /usr/local/apps/matlab/extern/includeqhull.${SFX}: mex.o libqhull.a	cmex -I${INCLUDE} mex.o libqhull.a	mv mex.${SFX} ../$@ mex.o: mex.c	cc -c -I${INCLUDE} $(CCOPTS1) mex.call: rbox qhull unix.o:   qhull.h user.hqhull.o:  qhull.h stat.h qhull_a.h user.hgeom.o:   qhull.h stat.h geom.h qhull_a.h user.hgeom2.o:   qhull.h stat.h geom.h qhull_a.h user.hglobal.o: qhull.h stat.h qhull_a.h user.hio.o:     qhull.h stat.h io.h qhull_a.h user.hmem.o:    mem.h merge.o:  qhull.h stat.h merge.h qhull_a.h user.hpoly.o:   qhull.h stat.h poly.h qhull_a.h user.hpoly2.o:   qhull.h stat.h poly.h qhull_a.h user.hset.o:    set.h mem.h stat.o:   qhull.h stat.h qhull_a.h user.h.c.o:	$(CC) -c $(CCOPTS1) $<clean:	rm -f *.o core cleanall: clean	rm -f rbox qhull user_eg libqhull.a >/dev/nulldoc:	$(PRINTMAN) $(DFILES) $(MFILES)install: all	cp qhull $(BINDIR)/qhull	cp rbox $(BINDIR)/rbox	cp qhull.man $(MANDIR)/qhull.man	cp rbox.man $(MANDIR)/rbox.mannew:    cleanall allprintall: doc printh printc printfprintc:	$(PRINTC) $(CFILES)printf:	$(PRINTC) $(FILES) printh:	$(PRINTC) $(HFILES)libqhull.a: $(OBJS)	#echo if 'ar' or 'ranlib' fails, try 'make qhullx' >/dev/null	ar r libqhull.a $(OBJS)	#echo the next line may need to be removed. >/dev/null	#-test -x /bin/ranlib -o -x /usr/bin/ranlib && ranlib libqhull.aqhull: unix.o libqhull.a	$(CC) -o qhull $(CCOPTS2) unix.o -L. -lqhull -lm 	-chmod +x q_test q_eg q_egtest	-./rbox D4 | ./qhull# compile qhull without using libqhull.aqhullx: unix.o $(OBJS)	$(CC) -o qhull $(CCOPTS2) unix.o $(OBJS) -lm 	-chmod +x q_test q_eg q_egtest	-./rbox D4 | ./qhullqhull.1: qhull.man	nroff -man qhull.man | col -b >qhull.1rbox: rbox.o	$(CC) -o rbox rbox.o $(CCOPTS2) -lmrbox.1: rbox.man	nroff -man rbox.man | col -b >rbox.1user_eg: user_eg.o libqhull.a 	$(CC)  -o user_eg $(CCOPTS2) user_eg.o  -L. -lqhull -lm # end of Makefile

⌨️ 快捷键说明

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