Mercurial > hg > octave-image
changeset 660:afef2b0ed913
image: use mkoctfile defined by pkg in the environment
author | carandraug |
---|---|
date | Fri, 26 Oct 2012 03:16:30 +0000 |
parents | 1dfa777590ac |
children | d8b4930b0f98 |
files | src/Makefile |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Makefile +++ b/src/Makefile @@ -1,12 +1,14 @@ +MKOCTFILE ?= mkoctfile -Wall + all: __spatial_filtering__.oct __bilateral__.oct __custom_gaussian_smoothing__.oct \ __boundary__.oct bwlabel.oct bwfill.oct rotate_scale.oct hough_line.oct \ graycomatrix.oct deriche.oct __bwdist__.oct nonmax_supress.oct bwlabeln.oct %.oct: %.cc - mkoctfile -Wall $< + $(MKOCTFILE) $< bwlabeln.oct: bwlabeln.cc union-find.h++ - CXXFLAGS='-g -O2 -std=c++0x -Wall' mkoctfile $< + CXXFLAGS='-g -O2 -std=c++0x -Wall' $(MKOCTFILE) $< clean: rm -f *.o octave-core core *.oct *~