mex_PROGRAMS = bytecode

TOPDIR = $(top_srcdir)/../../sources/bytecode

bytecode_CPPFLAGS =  -Wno-maybe-uninitialized $(AM_CPPFLAGS) -I$(TOPDIR) -I$(top_srcdir)/../../../preprocessor/src

nodist_bytecode_SOURCES = \
	bytecode.cc \
	Interpreter.cc \
	Mem_Mngr.cc \
	SparseMatrix.cc \
	Evaluate.cc

BUILT_SOURCES = $(nodist_bytecode_SOURCES)
CLEANFILES = $(nodist_bytecode_SOURCES)

%.cc: $(TOPDIR)/%.cc
	$(LN_S) -f $< $@
