mex_PROGRAMS = cycle_reduction 

nodist_cycle_reduction_SOURCES = \
	matlab_mex.F08 \
	blas_lapack.F08 \
	mexFunction.f08

BUILT_SOURCES = $(nodist_cycle_reduction_SOURCES)
CLEANFILES = $(nodist_cycle_reduction_SOURCES)

mexFunction.o: matlab_mex.mod blas.mod lapack.mod

mexFunction.mod: mexFunction.o

%.f08: $(top_srcdir)/../../sources/cycle_reduction/%.f08
	$(LN_S) -f $< $@
%.F08: $(top_srcdir)/../../sources/cycle_reduction/%.F08
	$(LN_S) -f $< $@
