📄 makefile.orig
字号:
# makefile for TetGen## Type "make" to compile TetGen into an executable program (tetgen).# Type "make tetlib" to compile TetGen into a library (libtet.a).# Type "make distclean" to delete all object (*.o) files.# CC should be set to the name of your favorite C++ compiler.CC = g++# OPT is the level of optimiztion, default is -O. One should try -O2, -O3# ... to find the best optimization level.OPT = -g# CFLAGS is a list of switches to compile TetGen.## By default, TetGen uses double precision floating point numbers. If you# prefer single precision, use the -DSINGLE switch. ## The source code of TetGen includes a lot of assertions, which are mainly# used for catching bugs at that places. These assertions somewhat slow# down the speed of TetGen. They can be skipped by define the -DNDEBUG# switch.CFLAGS = # RM should be set to the name of your favorite rm (file deletion program).RM = /bin/rm# The action starts here.tetgen: tetgen.cxx predicates.o $(CC) $(CFLAGS) $(OPT) -o tetgen tetgen.cxx predicates.o -lmtetlib: tetgen.cxx predicates.o $(CC) $(CFLAGS) $(OPT) -DTETLIBRARY -c tetgen.cxx ar r libtet.a tetgen.o predicates.opredicates.o: predicates.cxx $(CC) $(CFLAGS) -c predicates.cxxdistclean: $(RM) $(SRC)*.o
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -