
GCC=g++
DEFS=-D_REENTRANT
OPT=
OPENCV_LIBS=-lcv -lhighgui
LIBS=$(OPENCV_LIBS) -lpthread -fno-exceptions

all: video_split

video_split: main.o
	$(GCC) $(DEFS) $(OPT) $^ -o video_split $(LIBS) -Wall


main.o: main.cc main.h
	$(GCC) -c $(DEFS) $(OPT) main.cc -o main.o -Wall

# - CLEAN -
clean:
	rm -f *.o video_split
