Mercurial > hg > nsaunier > traffic-intelligence
annotate Makefile @ 816:0b03218cd008
merged
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Sat, 18 Jun 2016 14:26:50 -0400 |
| parents | f3a0b652b590 |
| children | cc5cb04b04b0 |
| rev | line source |
|---|---|
|
683
f3a0b652b590
added function to display the speed distributions and optimize a little going through objects
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
614
diff
changeset
|
1 INSTALL_DIR = /usr/local/bin |
|
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
|
2 |
|
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 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
|
4 @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
|
5 |
|
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 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
|
7 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
|
8 |
|
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 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 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
|
11 @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
|
12 |
|
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 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
|
14 @echo "=========================================" |
|
560
5b534ad95bfb
added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
554
diff
changeset
|
15 @echo "Installing for Linux" |
|
5b534ad95bfb
added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
554
diff
changeset
|
16 @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
|
17 @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
|
18 @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
|
19 @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
|
20 @echo "Copying Python scripts" |
|
683
f3a0b652b590
added function to display the speed distributions and optimize a little going through objects
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
614
diff
changeset
|
21 @cp scripts/* $(INSTALL_DIR) |
|
560
5b534ad95bfb
added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
554
diff
changeset
|
22 |
|
5b534ad95bfb
added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
554
diff
changeset
|
23 uninstall: |
|
5b534ad95bfb
added uninstall option in Makefile
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
554
diff
changeset
|
24 @echo "Uninstalling for Linux" |
|
683
f3a0b652b590
added function to display the speed distributions and optimize a little going through objects
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
614
diff
changeset
|
25 rm $(INSTALL_DIR)/feature-based-tracking |
|
f3a0b652b590
added function to display the speed distributions and optimize a little going through objects
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
614
diff
changeset
|
26 @cd scripts && ./uninstall-scripts.sh $(INSTALL_DIR) |
