-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
25 lines (18 loc) · 815 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
# Compile and link flags
CXX = g++ -g
CFLAGS = -Wall -g
# Compilation (add flags as needed)
#CXXFLAGS += `pkg-config opencv --cflags` -Wall -g
CXXFLAGS += -I/home/jmansour/soft/opencvinstall/include -Wall
# Linking (add flags as needed)
#LDFLAGS += `pkg-config opencv --libs`
LDFLAGS += -L/home/jmansour/soft/opencvinstall/lib -lopencv_ml -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -Wall -g
# Name your target executables here
all = test
# Default target is the first one - so we will have it make everything :-)
all: $(all)
clean:
rm -f $(all) *.o
# Program dependencies (.o files will be compiles by implicit rules)
test: test.cpp DenseOF.o SimpleFlowDenseOF.o
$(CXX) $(CFLAGS) test.cpp DenseOF.o SimpleFlowDenseOF.o $(CXXFLAGS) $(LDFLAGS) -o test