aboutsummaryrefslogtreecommitdiffstats
path: root/meowpp.test/GNUmakefile.targets
blob: 6c1cd66b4a068c7055e99410a54df9dff18f9eeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

TARGETS := $(TARGETS) $(BIN)/dsa
dsa_OBJS :=  $(OBJ)/BinaryIndexTree.o $(OBJ)/DisjointSet.o $(OBJ)/KD_Tree.o $(OBJ)/MergeableHeap.o $(OBJ)/SegmentTree.o $(OBJ)/SplayTree.o $(OBJ)/SplayTree_Range.o $(OBJ)/VP_Tree.o
dsa_LIBS :=   
$(BIN)/dsa: $(OBJ)/dsa.o $(dsa_OBJS)
    @echo Target: $@...
    @$(CXX) $^ $(CXXFLAGS) `pkg-config --cflags --libs $(dsa_LIBS) 2>/dev/null` -o $@

TARGETS := $(TARGETS) $(BIN)/autostitch
autostitch_OBJS :=  $(OBJ)/autostitch_FeaturePointsDetector_Harris.o $(OBJ)/autostitch_K_Match.o $(OBJ)/autostitch_RansacCheck.o
autostitch_LIBS :=  opencv
$(BIN)/autostitch: $(OBJ)/autostitch.o $(autostitch_OBJS)
    @echo Target: $@...
    @$(CXX) $^ $(CXXFLAGS) `pkg-config --cflags --libs $(autostitch_LIBS) 2>/dev/null` -o $@

TARGETS := $(TARGETS) $(BIN)/oo
oo_OBJS := 
oo_LIBS := 
$(BIN)/oo: $(OBJ)/oo.o $(oo_OBJS)
    @echo Target: $@...
    @$(CXX) $^ $(CXXFLAGS) `pkg-config --cflags --libs $(oo_LIBS) 2>/dev/null` -o $@