view Makefile @ 802:d3e8dd9f3ca4 dev

current dev for drone stabilization
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 31 May 2016 17:59:35 -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)