-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
36 lines (25 loc) · 970 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
OPENCV = -I /usr/include/opencv
OPENCVCONF = `pkg-config opencv --libs`
FIND=find -name
RM=rm -rf
all: clean descritores funcoesAux funcoesArquivo merge_datasets classifier dimensionReduction
@g++ -Wall descritores.o funcoesAux.o funcoesArquivo.o mainDescritor.cpp -o mainDescritor $(OPENCV) $(OPENCVCONF)
descritores:
@g++ -Wall -c -g descritores.cpp $(OPENCV)
funcoesAux:
@g++ -Wall -c -g funcoesAux.cpp $(OPENCV)
funcoesArquivo:
@g++ -Wall -c -g funcoesArquivo.cpp $(OPENCV)
dimensionReduction: dimensionReduction.cpp
@g++ -Wall -o dimensionReduction descritores.o funcoesAux.o funcoesArquivo.o classifier.o dimensionReduction.cpp $(OPENCV) $(OPENCVCONF)
merge_datasets: mergeDataSets.cpp
@g++ -Wall -o mergeDataSets mergeDataSets.cpp
classifier:
@g++ -Wall -c -g classifier.cpp $(OPENCV)
clean:
$(FIND) "*~" | xargs $(RM)
$(RM) teste mainDescritor dimensionReduction mergeDataSets
generate:
./runAllDescriptors.sh
run:
./dimensionReduction