Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15342247
  • 博文数量: 2005
  • 博客积分: 11986
  • 博客等级: 上将
  • 技术积分: 22535
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-17 13:56
文章分类

全部博文(2005)

文章存档

2014年(2)

2013年(2)

2012年(16)

2011年(66)

2010年(368)

2009年(743)

2008年(491)

2007年(317)

分类: LINUX

2011-01-21 23:20:51

可以使用make -nd调试makefile
yes := $(shell echo 'bbbbbbb')
.PHONY: none

none:
    $(warning 1111111111111111111)
    $(info 2222222222222222222)
    @echo 123 | sed -e 's/1/aaaaaaa/'
    @echo $(yes)
clean:
    @for dir in $(dirs_to_clean) ; do \
        echo "Cleaning $$dir..."; \
        rm -rf $$dir; \
    done
    @echo "Clean."; \

nosd:
    @echo xxxxxxxxxxxxx

javac_version := $(shell javac -version 2>&1 | head -n 1 | grep '[ "]1\.[56][\. "$$]')
ifeq ($(strip $(javac_version)),)
$(info Your version is: $(shell javac -version 2>&1 | head -n 1).)
endif


阅读(2652) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~