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

📄 makefile

📁 四元数实现的三维空间的表达形式
💻
字号:
# The following Makefile is known to work on# redhat linux 7.3 with Matlab R14## For other versions of MATLAB, the "MATDIR"# variable may have to be changed# Note: this should also work by simply # using "mex" from the MATLAB command window# eg: ">> mex qrot3d.c" TARGET = qrot3d.mexglxSOURCES = qrot3d.cMATDIR = /usr/local/matlab14INCDIR = -I. -I$(MATDIR)/extern/includeLIBDIR = -L$(MATDIR)/bin/glnx86LIBS = -lm -lmx -lmat# The gcc compilerCC = gccCFLAGS = -O3 -fomit-frame-pointer# The Intel compiler# CC = icc# CFLAGS = -xN -O3 -wd1572$(TARGET) : $(patsubst %.c,%.o,$(SOURCES))	$(CC) $(CFLAGS) $(LIBDIR) $(LIBS) -shared $^ -o $@%.o : %.c	$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@clean : 	rm -rf $(patsubst %.c,%.o,$(SOURCES)) $(TARGET)

⌨️ 快捷键说明

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