annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
554
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
1
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
2 cexe:
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
3 @cd c && make feature-based-tracking
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
4
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
5 doc:
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
6 doxygen
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
7
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
8 clean:
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
9 @cd c && make clean
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
10 @cd python && rm *.pyc
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
11
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
12 install: cexe
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
13 @echo "========================================="
560
5b534ad95bfb added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents: 554
diff changeset
14 @echo "Installing for Linux"
5b534ad95bfb added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents: 554
diff changeset
15 @echo "========================================="
554
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
16 @echo "Copying feature-based tracking executable"
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
17 @cp bin/feature-based-tracking /usr/local/bin
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
18 @echo "========================================="
7d051afcb22d added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
19 @echo "Copying Python scripts"
560
5b534ad95bfb added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents: 554
diff changeset
20 @cp scripts/* /usr/local/bin
5b534ad95bfb added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents: 554
diff changeset
21
5b534ad95bfb added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents: 554
diff changeset
22 uninstall:
5b534ad95bfb added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents: 554
diff changeset
23 @echo "Uninstalling for Linux"
5b534ad95bfb added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents: 554
diff changeset
24 rm /usr/local/bin/feature-based-tracking
5b534ad95bfb added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents: 554
diff changeset
25 @cd scripts && ./uninstall-scripts.sh