Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1199218
  • 博文数量: 404
  • 博客积分: 10011
  • 博客等级: 上将
  • 技术积分: 5382
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-03 16:29
文章存档

2010年(40)

2009年(140)

2008年(224)

我的朋友

分类: BSD

2009-03-16 13:39:15

#Define for C++ Test
CROSSDIR = /opt/hisilicon/toolchains/arm-linux-uclibc/linux-soft/bin
CROSS = arm-linux-uclibc-
ifeq ($(BUILD_MODE), PARASOFT_CPPTEST)
CC ='/home/yuchuan/testC++/cpptestscan' --cpptestscanOutputFile=dvs2621test.bdf --cpptestscanProjectName=DVS2621Project $(CROSSDIR)/$(CROSS)g++
LD ='/home/yuchuan/testC++/cpptestscan' --cpptestscanOutputFile=dvs2621test.bdf --cpptestscanProjectName=DVS2621Project $(CROSSDIR)/$(CROSS)ld
else
CC = $(CROSS)g++
AS = $(CROSS)as
LD = $(CROSS)ld
endif

#hisilicon
SAMPLE_ROOT = $(PWD)
 
LIB = -lh264 
LIBPATH =-L$(SAMPLE_ROOT)
INCPATH =-I$(SAMPLE_ROOT)

DVSSOFT = ds

all : *.C
 $(CC) -o $(DVSSOFT) *.C -lpthread $(INCPATH) $(LIBPATH) $(LIB)
 arm-linux-uclibc-strip $(DVSSOFT)
clean :
 rm -f $(DVSSOFT)
 rm -f $(OUTPATH)/*.o
cleanall: clean
 
阅读(983) | 评论(0) | 转发(0) |
0

上一篇:linuxrc

下一篇:linux errno code

给主人留下些什么吧!~~