diff Makefile @ 708:a37c565f4b68

merged dev
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 22 Jul 2015 14:17:44 -0400
parents f3a0b652b590
children cc5cb04b04b0
line wrap: on
line diff
--- a/Makefile	Wed Jul 22 14:17:19 2015 -0400
+++ b/Makefile	Wed Jul 22 14:17:44 2015 -0400
@@ -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)