diff Makefile @ 683:f3a0b652b590 dev

added function to display the speed distributions and optimize a little going through objects
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 05 Jun 2015 11:04:06 +0200
parents 5e09583275a4
children cc5cb04b04b0
line wrap: on
line diff
--- a/Makefile	Fri Jun 05 02:35:29 2015 +0200
+++ b/Makefile	Fri Jun 05 11:04:06 2015 +0200
@@ -1,3 +1,4 @@
+INSTALL_DIR = /usr/local/bin
 
 cexe:
 	@cd c && make feature-based-tracking
@@ -17,9 +18,9 @@
 	@cp bin/feature-based-tracking /usr/local/bin
 	@echo "========================================="
 	@echo "Copying Python scripts"
-	@cp scripts/* /usr/local/bin
+	@cp scripts/* $(INSTALL_DIR)
 
 uninstall:
 	@echo "Uninstalling for Linux"
-	rm /usr/local/bin/feature-based-tracking 
-	@cd scripts && ./uninstall-scripts.sh
\ No newline at end of file
+	rm $(INSTALL_DIR)/feature-based-tracking 
+	@cd scripts && ./uninstall-scripts.sh $(INSTALL_DIR)