## GNU Makefile with MinGW/MSYS
## MinGW 下面简化的Makefile 需要 MSYS
## It can be invoked like `mingw32-make hello.exe`
## This will compile the hello.cpp to hello.exe
CXXFLAGS=-I. -O3
## 没有下面这条指令, 后缀通配指令不能识别 .cpp.exe
.SUFFIXES: .exe
.cpp.exe:
g++ -Wall $(CXXFLAGS) -o $@ $<
.PHONY : clean
clean:
rm -f *.exe *.obj *.o
2006/12/25
最简化的GNUMakefile
订阅:
博文评论 (Atom)
BlockChain 相关电子书
@copyright of Sam Chadwick - https://thehub.thomsonreuters.com/groups/bitcoin/blog/2017/09/10/blockchain-paper Blockchain Papers A c...
-
@copyright of Sam Chadwick - https://thehub.thomsonreuters.com/groups/bitcoin/blog/2017/09/10/blockchain-paper Blockchain Papers A c...
-
Finally the my Ubuntu linux is authenticated with the Windows IAS 802.1x RADIUS server. Thanks Xsupplicant, thanks Open1x project to provid...
-
如何在 OpenWRT 下产生随机数: MY_RANDOM=$(head /dev/urandom | tr -dc "0123456789" | head -c4) 如果是的Bash, Zsh, 或者BusyBox启用了RANDOM, 是可以直接使用内置...
没有评论:
发表评论