summaryrefslogtreecommitdiff
path: root/2004/i/nono/src/ovision/Makefile
blob: dadf78e70a8d8aa7dc0b0b591f0ae6638493498c (plain)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
OBJECTS=img.o segmNN.o oconfig.o group.o space.o imgInterface.o convertImg.o segmLearn.o

LIBS=
#-lIL -lILU
LIBSGL= -L/usr/X11R6/lib -lGL -lGLU -lglut
LIBNCURSES=-lmenu -lncurses
CPPFLAGS= -I. $(IMAGE_INC) -I..

CXXFLAGS=-g -Wall


all: testimg adjust ui  

testimg: oconfig.o segmNN.o testimg.o img.o
	$(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@
	

adjust: $(OBJECTS) adjust.o comm.o 
	$(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(LIBS) $(LIBSGL) -o $@

ui:	ui.o oconfig.o mainui.o
	$(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(LIBS) $(LIBNCURSES) -o $@

depend:
	makedepend -Y -- $(CXXFLAGS) -- *.cc *.h 2> /dev/null

testdist:	testdist.o $(OBJECTS)
	$(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(LIBNCURSES) -o $@

	
testmap:	testmap.o map.o $(OBJECTS)
	$(CXX) $(CXXFLAGS) $(LDFLAGS)  $^ -o $@
	
optim:	optim.o map.o $(OBJECTS)
	$(CXX) $(CXXFLAGS) $(LDFLAGS) $(LIBS) $^ -o $@
	
clean :
	rm -f *.o testimg adjust ui dist test testusbcam testmap

# DO NOT DELETE

adjust.o: adjust.h comm.h
comm.o: comm.h adjust.h
convertImg.o: convertImg.h img.h oconfig.h
group.o: group.h img.h oconfig.h segmNN.h
img.o: img.h oconfig.h
imgInterface.o: imgInterface.h img.h oconfig.h
mainui.o: ui.h
map.o: map.h group.h img.h oconfig.h segmNN.h space.h
mapOld.o: map.h group.h img.h oconfig.h segmNN.h space.h
oconfig.o: oconfig.h
optim.o: map.h group.h img.h oconfig.h segmNN.h space.h
segmLearn.o: segmLearn.h segmNN.h img.h oconfig.h
segmNN.o: segmNN.h img.h oconfig.h
space.o: space.h group.h img.h oconfig.h segmNN.h
test.o: img.h oconfig.h segmNN.h group.h space.h
test_group.o: segmNN.h img.h oconfig.h group.h imgInterface.h
test_ovision.o: map.h group.h img.h oconfig.h segmNN.h space.h
test_ovision_ogl.o: map.h group.h img.h oconfig.h segmNN.h space.h
test_ovision_tracker.o: map.h group.h img.h oconfig.h segmNN.h space.h
testcam.o: segmNN.h img.h oconfig.h group.h
testdist.o: space.h group.h img.h oconfig.h segmNN.h
testmap.o: map.h group.h img.h oconfig.h segmNN.h space.h
testsave.o: map.h group.h img.h oconfig.h segmNN.h space.h
testsegm.o: img.h oconfig.h
testui.o: ui.h
ui.o: ui.h mainui.h
comm.o: adjust.h
convertImg.o: img.h oconfig.h
group.o: img.h oconfig.h segmNN.h
img.o: oconfig.h
imgInterface.o: img.h oconfig.h
map.o: group.h img.h oconfig.h segmNN.h space.h
segmLearn.o: segmNN.h img.h oconfig.h
segmNN.o: img.h oconfig.h
space.o: group.h img.h oconfig.h segmNN.h