makefile
来自「稀疏矩阵、链表、图、队列、二叉树、多叉树、排序、遗传算法等的实现」· 代码 · 共 18 行
TXT
18 行
# important: compile with optimizations off
all: bubble speed
speed: speed.c
gcc -ansi -W -Wall -Wno-unused -lm -o speed speed.c
bubble.o: bubble.c
gcc -pg -c -ansi -W -Wall -Wno-unused bubble.c
bubble: bubble.o
gcc -pg bubble.o -o bubble
clean:
-rm -f speed bubble *.o gmon.out
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?