vpath:make:*** No rule to make target `file1.h',needed by `m
来源:学生作业帮 编辑:神马作文网作业帮 分类:英语作业 时间:2024/10/07 19:31:01
vpath:make:*** No rule to make target `file1.h',needed by `main.o'.Stop.can you tell why?
makefile:
VPATH = %.h ./include
VPATH = %.c ./lib
CFLAGS = -I ./include
main :main.o print1.o print2.o
\x05gcc $(CFLAGS) -o main main.o print1.o print2.o
main.o :main.c file1.h file2.h
\x05gcc $(CFLAGS) -c main.c
print1.o :print1.c file1.h
\x05gcc $(CFLAGS) -c print1.c
print2.o :print2.c file2.h
\x05gcc $(CFLAGS) -c print2.c
clean :
\x05rm main main.o print1.o print2.o
the files of lib and include locate to /mylib/c/vpath?/(lib and include)
makefile:
VPATH = %.h ./include
VPATH = %.c ./lib
CFLAGS = -I ./include
main :main.o print1.o print2.o
\x05gcc $(CFLAGS) -o main main.o print1.o print2.o
main.o :main.c file1.h file2.h
\x05gcc $(CFLAGS) -c main.c
print1.o :print1.c file1.h
\x05gcc $(CFLAGS) -c print1.c
print2.o :print2.c file2.h
\x05gcc $(CFLAGS) -c print2.c
clean :
\x05rm main main.o print1.o print2.o
the files of lib and include locate to /mylib/c/vpath?/(lib and include)
这句话的意思好像是,没有所需要的main.o的目标文件.
在WINAVR+AVR Studi里面 这个跟路径的层数以及是否为中文名字有关系.
早上我在遇到过这个问题,把路径的层数少点,如D:\AVR GCC\test
我的问题就解决了,具体是为什么,我也不大清楚,希望可以帮到你.
在WINAVR+AVR Studi里面 这个跟路径的层数以及是否为中文名字有关系.
早上我在遇到过这个问题,把路径的层数少点,如D:\AVR GCC\test
我的问题就解决了,具体是为什么,我也不大清楚,希望可以帮到你.
vpath:make:*** No rule to make target `file1.h',needed by `m
make file 出错 No rule to make target 'g++',needed by 'main'.S
make:***no rule to make target 'gdut2410'.stop.怎么解决
make menuonfig时提示:make:*** No rule to make target `menuconfi
在cygwin中输入make micaz sim后出现make:***no rules to make target '
Linux 内核编译出错:make zimage命令;错误提示:make :***No rule to make tar
make:Makefile:No such file or directory make:*** No rule to
关于 make it a rule to .
make rule 搭配什么?
I generally make it a rule to be up by to 7 read English.帮我分
I make it a rule to run_____exercise every morning
make it a rule to do 还是 DOING 为什么