关于Makefile

来源:互联网 发布:淘宝买增加付款方式 编辑:程序博客网 时间:2024/05/28 22:13

1.[wgzhang@localhost src]$ make -s all
make: *** No rule to make target `@echo', needed by `all'.  Stop.

 

all:    @echo "!!!!!!!!!!!!!!!!!!" $(L1PP_ROOT)

 

改为如下,ok:

all:   
        @echo "!!!!!!!!!!!!!!!!!!" $(L1PP_ROOT)

 

2. make 也可以debug的,用 make -d 或者--debug=b/v.....

 

 

3. permission denied Make[1]: execvp: permission denied

If you see an error like this when you run make, it means make is attempting to execute a directory, not a program. Which means you probably have extra spacing in one of your variables in your config/make files.

make[1]: execvp: /usr/mpi/intel/mvapich: Permission denied

Run the command:

 make -n 

 

原创粉丝点击