mex_PROGRAMS = local_state_space_iteration_2 local_state_space_iteration_k

nodist_local_state_space_iteration_2_SOURCES = local_state_space_iteration_2.cc
nodist_local_state_space_iteration_k_SOURCES = local_state_space_iteration_k.f08

local_state_space_iteration_2_CXXFLAGS = $(AM_CXXFLAGS) -fopenmp
local_state_space_iteration_2_LDFLAGS = $(AM_LDFLAGS) $(OPENMP_LDFLAGS)

local_state_space_iteration_k_FCFLAGS = $(AM_FCFLAGS) -I../libkordersim -pthread
local_state_space_iteration_k_LDADD = ../libkordersim/libkordersim.a

BUILT_SOURCES = $(nodist_local_state_space_iteration_2_SOURCES) \
		$(nodist_local_state_space_iteration_k_SOURCES)
CLEANFILES = $(nodist_local_state_space_iteration_2_SOURCES) \
	     $(nodist_local_state_space_iteration_k_SOURCES)

%.cc: $(top_srcdir)/../../sources/local_state_space_iterations/%.cc
	$(LN_S) -f $< $@

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