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

📄 makefile

📁 B-spline曲線是包含Bezier曲線的通用數學表示法。
💻
字号:
##########################################################                                                       ##                 Makefile for linux gcc                ##                                                       #######################################################################################################################               specify the include paths###########################################################INCLUDE_DIR= -I/usr/X11R6/include#############################################################              specify the lib directories###########################################################LIB_DIR= -L/usr/X11R6/lib#############################################################             specify the librarys to link###########################################################LIBS= -lGL -lGLU -lglut -lXmu -lXi -lstdc++ -lm############################################################# specify a line to compile the source files. The first## version produces a release build. The second produces## a debug build###########################################################COMPILE= gcc -O2 $(INCLUDE_DIR)# COMPILE= gcc -g -I  $(INCLUDE_DIR)#############################################################               specify the output file###########################################################OUTPUT=bezierCurve#############################################################              specify the input objects###########################################################OBJECTS= main.o#############################################################      Everything is dependant on the output file###########################################################all : $(OUTPUT)#############################################################  The output program is dependant on the input objects###########################################################$(OUTPUT) : $(OBJECTS)	$(COMPILE) $(OBJECTS) $(LIB_DIR) $(LIBS)   -o $(OUTPUT)#############################################################     Compile each *.cpp file into a *.o file.###########################################################main.o : main.cpp	$(COMPILE) -c main.cpp###########################################################           A rule to delete all temp files##########################################################clean:	rm $(OUTPUT) $(OBJECTS)

⌨️ 快捷键说明

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