view Makefile @ 788:5b970a5bc233 dev

updated classifying code to OpenCV 3.x (bug in function to load classification models)
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Thu, 24 Mar 2016 16:37:37 -0400
parents f3a0b652b590
children cc5cb04b04b0
line wrap: on
line source

INSTALL_DIR = /usr/local/bin

cexe:
	@cd c && make feature-based-tracking

doc:
	doxygen

clean:
	@cd c && make clean
	@cd python && rm *.pyc

install: cexe
	@echo "========================================="
	@echo "Installing for Linux"
	@echo "========================================="
	@echo "Copying feature-based tracking executable"
	@cp bin/feature-based-tracking /usr/local/bin
	@echo "========================================="
	@echo "Copying Python scripts"
	@cp scripts/* $(INSTALL_DIR)

uninstall:
	@echo "Uninstalling for Linux"
	rm $(INSTALL_DIR)/feature-based-tracking 
	@cd scripts && ./uninstall-scripts.sh $(INSTALL_DIR)