comparison Makefile @ 560:5b534ad95bfb

added uninstall option in Makefile
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 15 Jul 2014 13:59:03 -0400
parents 7d051afcb22d
children 5e09583275a4
comparison
equal deleted inserted replaced
559:806df5f61c03 560:5b534ad95bfb
9 @cd c && make clean 9 @cd c && make clean
10 @cd python && rm *.pyc 10 @cd python && rm *.pyc
11 11
12 install: cexe 12 install: cexe
13 @echo "=========================================" 13 @echo "========================================="
14 @echo "Installing for Linux"
15 @echo "========================================="
14 @echo "Copying feature-based tracking executable" 16 @echo "Copying feature-based tracking executable"
15 @cp bin/feature-based-tracking /usr/local/bin 17 @cp bin/feature-based-tracking /usr/local/bin
16 @echo "=========================================" 18 @echo "========================================="
17 @echo "Copying Python scripts" 19 @echo "Copying Python scripts"
18 @cp scripts/* /usr/local/bin 20 @cp scripts/* /usr/local/bin
21
22 uninstall:
23 @echo "Uninstalling for Linux"
24 rm /usr/local/bin/feature-based-tracking
25 @cd scripts && ./uninstall-scripts.sh