Makefile文件中调用python文件及perl文件的方法
实例代码如下
perl.pl
#!/usr/bin/perl
print("hello, perl\n")
python.py
#!/usr/bin/env python
print("hello, python\n")
Makefile
.PHONY:all
all:
@echo "------- execute perl file ---------"
@/usr/bin/perl perl.pl
@echo "------- execute
python file ---------"
@/usr/bin/env python python.py
Makefile文件中调用python文件及perl文件的方法,布布扣,bubuko.com
Makefile文件中调用python文件及perl文件的方法
原文:http://blog.csdn.net/u012554768/article/details/21168755