Update the changelog
[opencv] / samples / c / makefile.gnu
1 CXX=g++
2 CXXFLAGS = -I"..\..\cxcore\include" -I"..\..\cv\include" \
3     -I"..\..\cvaux\include" -I"..\..\ml\include" -I"..\..\otherlibs\highgui"
4 LINKFLAGS = -L"..\..\lib" -lcxcore -lcv -lcvaux -lml -lhighgui
5
6 SAMPLES_C = $(notdir $(patsubst %.c, %.exe, $(wildcard *.c)))
7 SAMPLES_CPP = $(notdir $(patsubst %.cpp, %.exe, $(wildcard *.cpp)))
8
9 SAMPLES = $(SAMPLES_C) $(SAMPLES_CPP)
10
11 all: $(SAMPLES)
12
13 %.exe: %.c
14         @echo $@
15         @$(CXX) $(CXXFLAGS) -o $@ $< $(LINKFLAGS)
16
17 %.exe: %.cpp
18         @echo $@
19         @$(CXX) $(CXXFLAGS) -o $@ $< $(LINKFLAGS)