2009-09-10 11:50:58 +02:00
|
|
|
DYNARE_ROOT = $(abs_top_srcdir)/matlab
|
2009-06-11 16:58:43 +02:00
|
|
|
|
2010-10-22 15:50:54 +02:00
|
|
|
MODS = \
|
2009-06-11 16:58:43 +02:00
|
|
|
ramst.mod \
|
|
|
|
ramst_a.mod \
|
|
|
|
example1.mod \
|
2009-12-22 11:34:06 +01:00
|
|
|
example2.mod \
|
2009-12-14 12:06:29 +01:00
|
|
|
example1_use_dll.mod \
|
2010-11-26 11:27:49 +01:00
|
|
|
example1_with_tags.mod\
|
2009-06-11 16:58:43 +02:00
|
|
|
t_sgu_ex1.mod \
|
2010-02-17 17:54:41 +01:00
|
|
|
osr_example.mod \
|
2010-05-31 16:19:21 +02:00
|
|
|
optimal_policy/ramsey.mod \
|
|
|
|
optimal_policy/mult_elimination_test.mod \
|
2009-10-29 18:16:10 +01:00
|
|
|
ramst_initval_file.mod \
|
2010-04-16 18:34:50 +02:00
|
|
|
ramst_normcdf_and_friends.mod \
|
2009-10-29 18:16:10 +01:00
|
|
|
example1_varexo_det.mod \
|
2009-11-09 12:03:18 +01:00
|
|
|
predetermined_variables.mod \
|
2010-04-23 18:39:07 +02:00
|
|
|
fs2000_ssfile.mod \
|
2010-06-18 14:17:01 +02:00
|
|
|
comments.mod \
|
2010-10-20 14:47:03 +02:00
|
|
|
histval_sto.mod \
|
|
|
|
histval_det.mod \
|
2010-12-08 12:16:12 +01:00
|
|
|
expectation.mod \
|
2010-09-20 17:04:38 +02:00
|
|
|
steady_state_operator/standard.mod \
|
|
|
|
steady_state_operator/use_dll.mod \
|
|
|
|
steady_state_operator/block.mod \
|
|
|
|
steady_state_operator/bytecode_test.mod \
|
2009-12-16 14:41:22 +01:00
|
|
|
block_bytecode/ireland.mod \
|
2010-04-16 18:34:50 +02:00
|
|
|
block_bytecode/ramst_normcdf_and_friends.mod \
|
2009-12-01 19:07:36 +01:00
|
|
|
k_order_perturbation/fs2000k2a.mod \
|
2010-12-17 18:34:23 +01:00
|
|
|
k_order_perturbation/fs2000k2_use_dll.mod \
|
|
|
|
k_order_perturbation/fs2000k_1_use_dll.mod \
|
|
|
|
k_order_perturbation/fs2000k3_use_dll.mod \
|
|
|
|
k_order_perturbation/fs2000k2_m.mod \
|
|
|
|
k_order_perturbation/fs2000k_1_m.mod \
|
|
|
|
k_order_perturbation/fs2000k3_m.mod \
|
2010-10-11 16:48:41 +02:00
|
|
|
partial_information/PItest3aHc0PCLsimModPiYrVarobsAll.mod \
|
|
|
|
partial_information/PItest3aHc0PCLsimModPiYrVarobsCNR.mod \
|
2009-06-11 16:58:43 +02:00
|
|
|
arima/mod1.mod \
|
|
|
|
arima/mod1a.mod \
|
2010-10-21 15:43:13 +02:00
|
|
|
arima/mod1b.mod \
|
|
|
|
arima/mod1c.mod \
|
2009-06-11 16:58:43 +02:00
|
|
|
arima/mod2.mod \
|
2010-10-21 15:43:13 +02:00
|
|
|
arima/mod2a.mod \
|
|
|
|
arima/mod2b.mod \
|
2009-06-11 16:58:43 +02:00
|
|
|
arima/mod2c.mod \
|
|
|
|
fs2000/fs2000.mod \
|
2010-10-21 15:43:13 +02:00
|
|
|
fs2000/fs2000a.mod \
|
2010-10-15 19:05:16 +02:00
|
|
|
fs2000/fs2000c.mod \
|
2009-07-10 15:14:17 +02:00
|
|
|
homotopy/homotopy1_test.mod \
|
|
|
|
homotopy/homotopy2_test.mod \
|
|
|
|
homotopy/homotopy3_test.mod \
|
2009-07-01 15:23:28 +02:00
|
|
|
bvar_a_la_sims/bvar_standalone.mod \
|
2009-10-20 17:44:56 +02:00
|
|
|
bvar_a_la_sims/bvar_and_dsge.mod \
|
|
|
|
AIM/fs2000x10L9_L.mod \
|
|
|
|
AIM/fs2000x10L9_L_AIM.mod \
|
|
|
|
AIM/fs2000x10_L9_L.mod \
|
2009-11-02 14:44:45 +01:00
|
|
|
AIM/fs2000x10_L9_L_AIM.mod \
|
2010-10-21 15:43:13 +02:00
|
|
|
AIM/fs2000_b1L1L.mod \
|
|
|
|
AIM/fs2000_b1L1L_AIM.mod \
|
|
|
|
AIM/ls2003_2L0L.mod \
|
|
|
|
AIM/ls2003_2L0L_AIM.mod \
|
|
|
|
AIM/ls2003_2L2L.mod \
|
|
|
|
AIM/ls2003_2L2L_AIM.mod \
|
2010-06-24 16:03:17 +02:00
|
|
|
conditional_variance_decomposition/example1.mod \
|
|
|
|
dsge-var/simul_hybrid.mod \
|
|
|
|
dsge-var/dsgevar_forward_calibrated_lambda.mod \
|
2010-10-05 18:48:15 +02:00
|
|
|
dsge-var/dsgevar_forward_estimated_lambda.mod \
|
|
|
|
external_function/example1_1st_and_2nd_deriv_functions_provided.mod \
|
|
|
|
external_function/example1_1st_and_2nd_deriv_functions_provided_dll.mod \
|
|
|
|
external_function/example1_1st_deriv_function_provided.mod \
|
|
|
|
external_function/example1_1st_deriv_function_provided_dll.mod \
|
|
|
|
external_function/example1_no_deriv_functions_provided.mod \
|
2010-11-26 17:41:19 +01:00
|
|
|
external_function/example1_no_deriv_functions_provided_dll.mod \
|
2011-01-10 12:21:18 +01:00
|
|
|
seeds.mod \
|
|
|
|
simul/example1.mod
|
2010-10-05 18:48:15 +02:00
|
|
|
|
2009-09-10 11:50:58 +02:00
|
|
|
EXTRA_DIST = $(MODS) \
|
|
|
|
run_test_octave.m \
|
2010-10-22 15:50:54 +02:00
|
|
|
block_bytecode/run_block_bytecode_tests.m \
|
|
|
|
block_bytecode/run_ls2003.m \
|
|
|
|
block_bytecode/ls2003.mod \
|
2010-05-03 11:51:39 +02:00
|
|
|
fs2000/fsdat_simul.m \
|
2009-12-18 16:30:43 +01:00
|
|
|
test.m \
|
|
|
|
objectives \
|
|
|
|
ramst_initval_file_data.m \
|
|
|
|
homotopy/common.mod \
|
2011-01-26 19:55:01 +01:00
|
|
|
bvar_a_la_sims/bvar_sample.m \
|
|
|
|
fs2000_ssfile_aux.m
|
2009-09-10 11:50:58 +02:00
|
|
|
|
|
|
|
TARGETS = check-matlab
|
|
|
|
|
|
|
|
if HAVE_OCTAVE
|
2010-10-28 12:12:03 +02:00
|
|
|
TARGETS += check-octave check-block-bytecode
|
2009-09-10 11:50:58 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
check-local: $(TARGETS)
|
2009-06-11 16:58:43 +02:00
|
|
|
|
2010-10-22 15:50:54 +02:00
|
|
|
check-octave: $(MODS)
|
2009-06-11 16:58:43 +02:00
|
|
|
@set -e; \
|
2010-10-22 15:50:54 +02:00
|
|
|
for modfile in $(MODS); do \
|
2009-09-15 18:49:39 +02:00
|
|
|
$(OCTAVE) --norc --silent --no-history run_test_octave.m $$modfile $(DYNARE_ROOT) $(PACKAGE_VERSION); \
|
2009-06-11 16:58:43 +02:00
|
|
|
done
|
|
|
|
.PHONY: check-octave
|
|
|
|
|
2010-10-22 15:50:54 +02:00
|
|
|
check-block-bytecode:
|
|
|
|
cd block_bytecode && $(OCTAVE) --norc --silent --no-history run_block_bytecode_tests.m $(DYNARE_ROOT) $(PACKAGE_VERSION)
|
|
|
|
.PHONY: check-block-bytecode
|
|
|
|
|
2009-06-11 16:58:43 +02:00
|
|
|
check-matlab: $(MODS)
|
|
|
|
# MATLAB stuff to be added here
|
|
|
|
.PHONY: check-matlab
|
|
|
|
|
2009-09-10 11:50:58 +02:00
|
|
|
clean-local:
|
2009-06-11 16:58:43 +02:00
|
|
|
rm -f $(patsubst %.mod, %.m, $(MODS)) \
|
2009-12-18 15:07:35 +01:00
|
|
|
$(patsubst %.mod, %_static.*, $(MODS)) \
|
2009-07-03 10:26:35 +02:00
|
|
|
$(patsubst %.mod, %_objective_static.m, $(MODS)) \
|
2009-12-18 15:07:35 +01:00
|
|
|
$(patsubst %.mod, %_dynamic.*, $(MODS))
|
2009-06-11 16:58:43 +02:00
|
|
|
|
|
|
|
rm -f $(patsubst %.mod, %_results.mat, $(MODS)) \
|
|
|
|
$(patsubst %.mod, %_mode.mat, $(MODS)) \
|
|
|
|
$(patsubst %.mod, %_mh_mode.mat, $(MODS)) \
|
|
|
|
$(patsubst %.mod, %_mean.mat, $(MODS)) \
|
|
|
|
$(patsubst %.mod, %_pindx.mat, $(MODS)) \
|
|
|
|
$(patsubst %.mod, %_params.mat, $(MODS)) \
|
2010-01-13 18:39:59 +01:00
|
|
|
$(patsubst %.mod, %_simul, $(MODS)) \
|
2009-06-11 16:58:43 +02:00
|
|
|
$(patsubst %.mod, %.log, $(MODS))
|
2009-12-18 15:07:35 +01:00
|
|
|
|
2009-06-11 16:58:43 +02:00
|
|
|
rm -rf $(patsubst %.mod, %, $(MODS))
|
|
|
|
|
|
|
|
rm -f $(patsubst %.mod, %*.pdf, $(MODS)) \
|
|
|
|
$(patsubst %.mod, %*.eps, $(MODS)) \
|
|
|
|
$(patsubst %.mod, %*.fig, $(MODS))
|
|
|
|
|
|
|
|
rm -f $(shell find -name g1.mat) \
|
|
|
|
$(shell find -name g2.mat) \
|
|
|
|
$(shell find -name g3.mat) \
|
|
|
|
$(shell find -name H.dat)
|
|
|
|
|
2009-12-18 15:07:35 +01:00
|
|
|
rm -f arima/data1.m arima/data2.m \
|
|
|
|
k_order_perturbation/*.jnl \
|
2010-10-22 15:50:54 +02:00
|
|
|
k_order_perturbation/*.mat
|
2009-12-18 15:07:35 +01:00
|
|
|
|
|
|
|
rm -rf ramsey_objective
|
2009-06-11 16:58:43 +02:00
|
|
|
|
2010-04-23 18:39:07 +02:00
|
|
|
rm -f fs2000_ssfile_steadystate.m
|
|
|
|
|
2009-06-11 16:58:43 +02:00
|
|
|
rm -f $(shell find -name '*~')
|
2010-06-24 16:03:17 +02:00
|
|
|
|
2010-10-22 15:47:56 +02:00
|
|
|
rm -f dsge-var/datarabanal_hybrid.mat
|
|
|
|
|
|
|
|
rm -rf partial_information/PItest3aHc0PCLsimModPiYrVarobsAll_PCL* partial_information/PItest3aHc0PCLsimModPiYrVarobsCNR_PCL*
|
2010-10-22 15:50:54 +02:00
|
|
|
|
|
|
|
rm -rf block_bytecode/ws block_bytecode/ls2003_tmp*
|