c - makefile 编译显示致命错误:没有这样的文件或目录
问题描述
我在同一个文件夹中有两个文件:myset.c、set.h 我的 makefile 如下所示:
myset:myset.c set.h
gcc -ansi -pedantic -Wall myset.c -o myset
当我在控制台中运行命令 make 时,它显示以下错误:
fatal error: set.h: No such file or directory
在 myset.c 我写道:
#include <set.h>
问题是什么?