-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (37 loc) · 993 Bytes
/
Makefile
File metadata and controls
43 lines (37 loc) · 993 Bytes
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
36
37
38
39
40
41
42
43
CC=g++
PROG=executable
OBJS=blurDetection.o boundingBoxDetection.o getImage.o imageToText.o \
main.o prahvi.o scanner.o similarityDetection.o tfidf.o
CFLAGS= -g -std=c++11 -Wall -pedantic $(shell pkg-config --cflags opencv tesseract)
LDFLAGS= $(shell pkg-config --libs opencv tesseract)
.PHONY: all clean
$(PROG): $(OBJS)
$(CC) -o $(PROG) $(OBJS) $(LDFLAGS)
%.o: %.cpp
$(CC) -c $(CFLAGS) $<
all: $(PROG)
clean:
rm -f $(OBJS) $(PROG)
#/all: executable
#/
#/executable: $(OBJECTS)
#/ $(CC) $(CPPFLAGS) $(LDLIBS) -o executable $(OBJECTS)
#/
#/main.o: main.cpp
#/
#/blurDetection.o: blurDetection.cpp blurDetection.hpp
#/
#/boundingBoxDetection.o: boundingBoxDetection.cpp boundingBoxDetection.hpp
#/
#/getImage.o: getImage.cpp getImage.hpp
#/
#/imageToText.o: imageToText.cpp imageToText.hpp
#/
#/prahvi.o: prahvi.cpp prahvi.hpp
#/
#/scanner.o: scanner.cpp scanner.hpp
#/
#/similarityDetection.o: similarityDetection.cpp similarityDetection.hpp
#/
#/tfidf.o: tfidf.cpp tfidf.hpp
#/