CV=/home/wuselfuzz/opencv-dist/usr BR=/home/wuselfuzz/buildroot-2009.11 CVLIB=$(CV)/lib CVINC=$(CV)/include/opencv CFLAGS=-I$(CVINC) -msoft-float LIBS=-L/home/wuselfuzz/opencv-dist/usr/lib -lhighgui -lcvaux -lcv -lcxcore -lgomp #LIBS=$(CVLIB)/libcv.a $(CVLIB)/libhighgui.a $(CVLIB)/libcvaux.a $(CVLIB)/libml.a $(CVLIB)/libcxcore.a -lgomp -lz CXX=arm-linux-g++ LD=arm-linux-g++ main: main.o $(LD) -o main main.o $(LIBS) main.o: main.cpp $(CXX) $(CFLAGS) -c -o main.o main.cpp clean: rm main.o main *~