update opencv-zbar makefile
| | |
| | | APPNAME=cvzbar |
| | | |
| | | CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi- |
| | | GPP=${CROSSTOOL}g++ |
| | | GCC=${CROSSTOOL}gcc |
| | | CXX=${CROSSTOOL}g++ |
| | | CC=${CROSSTOOL}gcc |
| | | |
| | | PRJ_PATH=${shell pwd} |
| | | |
| | |
| | | |
| | | all: |
| | | echo $PKG_CONFIG_PATH |
| | | ${GPP} ${CFLAGS} -c decoder.cpp -o decoder.o $(CPPFLAGS) -Wall |
| | | ${GCC} -c cvzbar.c -Wall |
| | | ${GPP} decoder.o cvzbar.o -o ${APPNAME} $(CPPFLAGS) -lstdc++ ${LDFLAGS} |
| | | ${CXX} ${CFLAGS} -c decoder.cpp -o decoder.o $(CPPFLAGS) -Wall |
| | | ${CC} -c cvzbar.c -Wall |
| | | ${CXX} decoder.o cvzbar.o -o ${APPNAME} $(CPPFLAGS) -lstdc++ ${LDFLAGS} |
| | | cp ${APPNAME} /tftp |
| | | |
| | | clean: |