当前位置:网站首页>Problem with makefile: unable to detect file updates
Problem with makefile: unable to detect file updates
2022-06-10 20:03:00 【[email protected]】
makefile have a problem : Unable to detect file updates
all:message ClientMessage
message:messageDeal.o
gcc messageDeal.o -o message -lpthreadlWs2_32
ClientMessage:ClientMessage.o
gcc $< -o [email protected]
%.o:%.c
gcc -c $< -o [email protected]
clean:
-rm *.o message.exe ClientMessage.exe.PHONY:clean
It's written in linux Next ,all The target file of is an executable file by default. You can check the update of the file dependency , But somehow Windows I can't , Write like this
all:message.exe ClientMessage.exe
message.exe:messageDeal.o
gcc messageDeal.o -o message -lpthreadlWs2_32
ClientMessage.exe:ClientMessage.o
gcc $< -o [email protected]
%.o:%.c
gcc -c $< -o [email protected]
clean:
-rm *.o message.exe ClientMessage.exe.PHONY:clean
The suffix of the executable must be written as .exe
版权声明
本文为[[email protected]]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206101740272777.html
边栏推荐
- Summary of "performance test" of special test
- Performance test plan (plan) template
- 2022.05.28 (lc_516_longest palindrome subsequence)
- Does the giraffe's neck grow longer not because it eats leaves from high places? Scientists have found the answer in fossils 17million years ago
- In the all digital era, how can enterprise it complete transformation?
- 腾讯Libco协程开源库 源码分析 全系列总结博客
- 腾讯Libco协程开源库 源码分析(二)---- 柿子先从软的捏 入手示例代码 正式开始探究源码
- Looking for a room in the graduation season of college students, VR panoramic viewing helps you screen Online
- I drew several exquisite charts with plotly, which turned out to be beautiful!!
- How to add aggregation hotspots in VR panorama? How to add a content module?
猜你喜欢

大学生毕业季找房,VR全景看房帮你线上筛选

SBC芯片35584数据手册预调节器翻译
![[6.4-6.10] wonderful review of Blog](/img/66/0cfc97bf4bc0c2b6e66c0419690ce5.png)
[6.4-6.10] wonderful review of Blog

Go语学习笔记 - 跨域配置、全局异常捕获 | Web框架Gin(四)
![[advanced C language] data storage [Part 2] [ten thousand words summary]](/img/b5/4e346cb971b0574faf0164d3dcd9c8.png)
[advanced C language] data storage [Part 2] [ten thousand words summary]

Before we learn about high-performance computing, let's take a look at its history

VR全景作品中各式各样的嵌入功能是如何做到的?

融入机器学习,让Chrome浏览器更“懂”你

性能测试方案(计划)模板

Spark ShuffleManager
随机推荐
How to add independent hotspots in VR panoramic works?
Source code analysis of Tencent libco collaborative process open source library (II) -- persimmon starts from the soft pinch, and the sample code officially begins to explore the source code
Micronet practice: image classification using micronet
Writing technical articles is a fortune for the future
高通 QC2.0 快速充电智能识别IC FP6719
VR全景如何应用在家装中?体验真实的家装效果
618 great promotion is coming, mining bad reviews with AI and realizing emotional analysis of 100 million comments with zero code
大厂是怎么写数据分析报告的?
Routine solution - the problem of horse walking on the chessboard
企业级存储发展趋势谈:开源存储的冷思考
FS2117升压IC输出5V2.4A同步整流
批量检测不同url的指定端口(py脚本)
[advanced C language] advanced pointer [Part 1]
In the all digital era, how can enterprise it complete transformation?
How do various embedded functions in VR panoramic works be achieved?
Key and encryption mechanism in financial industry
Mysql database design concept (multi table query & transaction operation)
When the college entrance examination is opened, VR panorama can see the test site in this way
Performance test plan (plan) template
Open the door of the hybrid cloud market, Lenovo xcloud's way to break the situation