Makefile当中使用alias命令
来源:互联网 发布:窥孔优化 课程设计 编辑:程序博客网 时间:2024/04/29 17:03
Unless you've told it otherwise, make isn't using bash, it's using sh.
While sh is probably a symlink to bash, when invoked as "sh" it
doesn't read your .bashrc (nor the system default). You can change
this behavior with the SHELL variable in your makefile:
SHELL := /bin/bash
In general, though, it's better to set everything that you need in the
makefile, since relying on your aliases makes your makefile highly
non-portable. I usually do something like (using your example):
X := y
and then using $(X) instead of the alias x in commands.
http://linux.derkeiler.com/Mailing-Lists/Debian/2005-05/0952.html
- Makefile当中使用alias命令
- alias命令使用
- linux下alias命令使用
- Linux命令别名使用(alias)
- linux 命令别名使用-alias
- linux命令:alias别名使用
- linux alias命令使用笔记
- 使用alias别名自定义命令
- linux 命令别名使用-alias(转)
- Ubuntu中使用alias设置命令别名
- Linux 自定义命令 (alias 的使用)
- Linux命令之使用别名-alias
- Ubuntu使用alias配置命令别名
- alias命令
- alias 命令
- 工作当中使用的命令----笔记
- github当中所使用到的命令
- makefile使用命令
- Rainbow, rainbow, It's beautiful.
- ibmMQ-第八章
- 自定义类加载器实现对字节码文件的加密和解密
- Ajax与JSON的一些总结
- Android测试教程(8):测试Service
- Makefile当中使用alias命令
- ibmMQ第三部分第九章
- Android NFC 开发教程(3): Mifare Tag 读写示例
- ibmMQ-第十章
- 生成不定的n个正整数
- Linux应用程序开发 基础知识
- ibmMQ-第十一章
- Visual Studio 扩展开发
- Android SQLite 开发教程(3): 创建数据库