当前位置:网站首页>makefile 杂项
makefile 杂项
2022-08-10 09:28:00 【hjjdebug】
########################################
# makefile 中使用环境变量
# 在shell 命令中,用$$即可,$$被make解析为$
# 例子:
########################################
all:
@echo $$PATH # $$被解析为$, 执行的shell 命令为 echo $path, 所以说环境变量的引用要用两个$
@echo "-----"
@echo $PATH # $P 被认为是一个变量,解析成一个空,所以只显示ATH
测试结果: make
/opt/bin:/opt/ffmpeg_build/bin:/home/hjj/bin:/usr/local/sbin:/usr/local/bin
-----
ATH
边栏推荐
- Shell functions and arrays
- 【数据架构】分布式数据网格作为集中式数据单体的解决方案
- 【微服务架构】为故障设计微服务架构
- 在“企业通讯录”的盲区,融云的边界与分寸
- 数据库注入提权总结(一)
- Spotify expresses its architectural design using the C4 model
- CTFSHOW七夕杯web
- IDEA中xml文件头报错:URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)
- 2 模块一:科研思维培养
- CAD转WPF: 关于CAD图纸文件转换为WPF矢量代码文件(xaml文件)的技巧
猜你喜欢

DAY25:逻辑漏洞复现

Matlab符号函数的生成及计算其函数值
![[Data Architecture] Distributed Data Grid as a Solution for Centralized Data Monolith](/img/99/b22268e3e47db9e9caad58722e8709.png)
[Data Architecture] Distributed Data Grid as a Solution for Centralized Data Monolith

I don't want to do accounting anymore, Die changed to a new one, moved forward bravely, and finally successfully passed the career change test to double his monthly salary~

数据库注入提权总结(一)

【API 管理】什么是 API 管理,为什么它很重要?

CAD to WPF: Tips on converting CAD drawing files to WPF vector code files (xaml files)

【API架构】REST API 行业辩论:OData vs GraphQL vs ORDS

DataStream API(基础篇) 完整使用 (第五章)

UE4 Sequence添加基础动画效果 (05-蓝图触发Sequence)
随机推荐
dayjs-----time format
Basic concepts, structures, and classes of thread pools
Fourier series and Fourier transform
如何理解BIO、NIO、AIO的区别
Chapter 3 Search and Graph Theory (3)
不想再干会计了,蝶变向新,勇往直前,最后成功通过转行测试实现月薪翻倍~
2 模块一:科研思维培养
初识Flink 完整使用 (第一章)
【 WeChat applet 】 read page navigation
2022 首期线下 Workshop!面向应用开发者们的数据应用体验日来了 | TiDB Workshop Day
J9 Digital Theory: What kind of sparks will Web3.0+ Internet e-commerce cause?
【API Management】What is API Management and why is it important?
凭借这份阿里架构师的万字面试手册,逆风翻盘,斩获阿里offer
浅谈DAO+DeFi+NFT模式开发代码技术方案丨链游元宇宙NFT盲盒项目技术开发逻辑(源码程序)
设计分享|基于单片机的从左到右流水灯
"Guangzhou highway engineering measures for the supervision and administration of production safety, and revised from six aspects
乐观锁与悲观锁
DataStream API(基础篇) 完整使用 (第五章)
CTFSHOW七夕杯web
Oracle rac所在的网络要割接,停掉其中一个rac节点,这种方案可行吗?