diff -urN blitz-0.9/Makefile.in blitz-0.9.patched/Makefile.in --- blitz-0.9/Makefile.in 2005-10-15 06:20:40.000000000 +0200 +++ blitz-0.9.patched/Makefile.in 2007-02-12 08:26:32.000000000 +0100 @@ -297,9 +297,9 @@ EXTRA_DIST = LEGAL LICENSE README.binutils README-VS.NET.txt Blitz-VS.NET.zip \ ChangeLog.1 -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = blitz.pc blitz-uninstalled.pc -DISTCLEANFILES = blitz.pc blitz.pc.in blitz-uninstalled.pc +pkgconfigdir = $(datadir)/pkgconfig +pkgconfig_DATA = blitz.pc +DISTCLEANFILES = blitz.pc blitz.pc.in all: all-recursive .SUFFIXES: diff -urN blitz-0.9/examples/Makefile.fink blitz-0.9.patched/examples/Makefile.fink --- blitz-0.9/examples/Makefile.fink 1970-01-01 01:00:00.000000000 +0100 +++ blitz-0.9.patched/examples/Makefile.fink 2007-02-12 08:26:54.000000000 +0100 @@ -0,0 +1,29 @@ + +TARGETS = array cartesian cast cfd complex-test convolve curldiv \ + deriv diff erf fixed indirect io iter matmult nested numinquire outer pauli \ + pick polymorph prettyprint qcd rand2 random rangexpr reduce simple \ + slicing stencil2 stencil3 stencil stencilet storage tiny \ + transform useret where whitt + +CXXFLAGS = `pkg-config --cflags --libs blitz` + +.DEFAULT: all + +.PHONY: all clean bin run + +all: bin run + +bin: $(TARGETS) + +% : %.cpp + $(CXX) -o $@ $^ $(CXXFLAGS) + +run: bin + @echo Running examples... + @for prog in $(TARGETS); do \ + echo $$prog && (./$$prog > /dev/null 2>&1) || exit 1; \ + done + @echo All tests passed. + +clean: + rm -f $(TARGETS)