#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
阅读(1087) | 评论(0) | 转发(0) |