Updated opencv-samples-Makefile (Thanks Scott Tsai) #553697
This commit is contained in:
parent
589fa6de9e
commit
fa96201c32
@ -1,4 +1,10 @@
|
||||
CFLAGS := `pkg-config --cflags opencv` $(CFLAGS)
|
||||
CXXFLAGS := `pkg-config --cflags opencv` $(CXXFLAGS)
|
||||
LDFLAGS := `pkg-config --libs opencv` $(LDFLAGS)
|
||||
|
||||
all: $(patsubst %.c,%,$(wildcard *.c))
|
||||
PROGRAMS := $(patsubst %.c,%,$(wildcard *.c)) $(patsubst %.cpp,%,$(wildcard *.cpp))
|
||||
|
||||
.PHONY: all clean
|
||||
all: $(PROGRAMS)
|
||||
clean:
|
||||
rm -f $(PROGRAMS)
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name: opencv
|
||||
Version: 2.0.0
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Collection of algorithms for computer vision
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -155,6 +155,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Jan 09 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 2.0.0-4
|
||||
- Updated opencv-samples-Makefile (Thanks Scott Tsai) #553697
|
||||
|
||||
* Wed Jan 06 2010 Karel Klic <kklic@redhat.com> - 2.0.0-3
|
||||
- Fixed spec file issues detected by rpmlint
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user