makefile
来源:互联网 发布:淘宝91邀请码多少钱 编辑:程序博客网 时间:2024/05/01 11:22
target : *.o
g++ -o target *.o
*.o: *.c
g++ -c *.o *.c *.h
=======================
# a sample
# makefile ver2.0 4/22/2014 add macro
# $@ name of the target
# $^ name of all prerequisites with duplicates removed
# $< name of the first prerequisite
CC = g++
all: Calc clean
Calc: InsrFund.o calc.o
$(CC) -o Calc calc.o InsrFund.o
calc.o: calc.cpp InsrFund.h
$(CC) -c calc.cpp
InsrFund.o: InsrFund.cpp InsrFund.h
$(CC) -c InsrFund.cpp
clean:
rm *.o Calc
~
0 0
- Makefile
- Makefile
- makefile
- makefile
- makefile
- Makefile
- Makefile
- Makefile
- Makefile
- Makefile
- Makefile
- makefile
- Makefile
- makefile
- Makefile
- makefile
- makefile
- makefile
- NSCopying协议
- 小而美的LBS应用龙门阵——成都开发者沙龙
- .net平台借助第三方推送服务在推送Android消息(极光推送)
- Asio 定时器
- Cow Hurdles(floyd)
- makefile
- IO忽略ssl
- 产生不相同的随机数
- WEP、WPA和WPA2的区别
- 谈谈我认识的Aurigma Upload Suite
- CCLuaObjcBridge调Objective-C方法传索引数组报invalid key to 'next'错调试
- SDWebImageManagerDelegate 协议参考
- kmp之我见
- .NET混淆器和压缩器,防止应用程序被反编译的控件Dotfuscator