?? 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)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -