Makefile.am 50.6 KB
Newer Older
1
MODFILES = \
2 3 4 5 6 7 8 9 10 11 12 13 14
	walsh.mod \
	optimizers/fs2000_6.mod \
	moments/example1_hp_test.mod \
	lmmcp/rbcii.mod \
	ep/rbc_mc.mod \
	estimation/TaRB/fs2000_tarb.mod \
	observation_trends_and_prefiltering/MCMC/Trend_loglin_no_prefilt_first_obs_MC.mod \
	observation_trends_and_prefiltering/MCMC/Trend_loglinear_no_prefilter_MC.mod \
	observation_trends_and_prefiltering/MCMC/Trend_no_prefilter_first_obs_MC.mod \
	observation_trends_and_prefiltering/MCMC/Trend_no_prefilter_MC.mod \
	observation_trends_and_prefiltering/MCMC/Trend_loglin_prefilt_first_obs_MC.mod \
	observation_trends_and_prefiltering/MCMC/Trend_prefilter_MC.mod \
	observation_trends_and_prefiltering/MCMC/Trend_prefilter_first_obs_MC.mod \
15
	dates/dseries_interact.mod \
16
	dates/fs2000.mod \
17 18 19 20 21 22 23
	estimation/slice/fs2000_slice.mod \
	optimizers/fs2000_9.mod \
	optimizers/fs2000_10.mod \
	analytic_derivatives/fs2000_analytic_derivation.mod \
	measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME.mod \
	TeX/fs2000_corr_ME.mod \
	estimation/MH_recover/fs2000_recover_tarb.mod \
24
	estimation/fs2000.mod \
25 26 27
	gsa/ls2003a.mod \
	optimizers/fs2000_8.mod \
	optimizers/fs2000_8_with_optim.mod \
28
	estimation/fs2000_MCMC_jumping_covariance.mod \
29 30
	ms-sbvar/test_ms_variances_repeated_runs.mod \
	fs2000/fs2000.mod \
31
	ls2003/ls2003_hessian_zero.mod \
32 33
	ep/rbc.mod \
	estimation/fs2000_with_weibull_prior.mod \
Houtan Bastani's avatar
Houtan Bastani committed
34
	estimation/fs2000_initialize_from_calib.mod	\
35
	estimation/fs2000_calibrated_covariance.mod \
36
	estimation/fs2000_model_comparison.mod \
37
	estimation/fs2000_fast.mod \
38
	estimation/ls2003_endog_prior_restrict_estimation.mod \
39
	estimation/independent_mh/fs2000_independent_mh.mod \
40
	estimation/MH_recover/fs2000_recover.mod \
41 42
	estimation/MH_recover/fs2000_recover_2.mod \
	estimation/MH_recover/fs2000_recover_3.mod \
43
	estimation/t_proposal/fs2000_student.mod \
44 45 46
	moments/example1_var_decomp.mod \
	moments/example1_bp_test.mod \
	moments/test_AR1_spectral_density.mod \
Johannes Pfeifer 's avatar
Johannes Pfeifer committed
47
	moments/example1_one_sided_hp_test.mod \
Houtan Bastani's avatar
Houtan Bastani committed
48
	gsa/ls2003.mod \
49
	gsa/cod_ML_morris/cod_ML_morris.mod \
50
	gsa/morris/nk_est.mod \
51 52
	ramst.mod \
	ramst_a.mod \
53
	ramst_static_tag.mod \
54 55 56 57
	example1.mod \
	example2.mod \
	example1_use_dll.mod \
	example1_with_tags.mod \
Houtan Bastani's avatar
Houtan Bastani committed
58
	example1_irf_shocks.mod \
Houtan Bastani's avatar
Houtan Bastani committed
59
	example1_abs_sign.mod \
60
	example1_macroif.mod \
61 62
	example1long.mod \
	example2long.mod \
63
	example2long_use_dll.mod \
64
	t_sgu_ex1.mod \
65
	irfs/example1_unit_std.mod \
66 67 68 69
	optimal_policy/OSR/osr_example.mod \
	optimal_policy/OSR/osr_example_objective_correctness.mod \
	optimal_policy/OSR/osr_example_obj_corr_non_stat_vars.mod \
	optimal_policy/OSR/osr_example_param_bounds.mod \
70 71 72 73 74 75
	optimal_policy/OSR/osr_obj_corr_algo_1.mod \
	optimal_policy/OSR/osr_obj_corr_algo_3.mod \
	optimal_policy/OSR/osr_obj_corr_algo_4.mod \
	optimal_policy/OSR/osr_obj_corr_algo_7.mod \
	optimal_policy/OSR/osr_obj_corr_algo_8.mod \
	optimal_policy/OSR/osr_obj_corr_algo_9.mod \
76
	optimal_policy/ramsey_.mod \
77
	optimal_policy/nk_ramsey.mod \
78 79
	optimal_policy/nk_ramsey_model.mod \
	optimal_policy/nk_ramsey_det.mod \
80 81
	optimal_policy/nk_ramsey_expectation.mod \
	optimal_policy/nk_ramsey_expectation_a.mod \
82
	optimal_policy/mult_elimination_test.mod \
83 84 85
	optimal_policy/Ramsey/ramsey_ex_initval.mod \
	optimal_policy/Ramsey/ramsey_ex.mod \
	optimal_policy/Ramsey/ramsey_ex_initval_AR2.mod \
86
	optimal_policy/Ramsey/ramsey_ex_aux.mod \
87
	optimal_policy/Ramsey/Gali_commitment.mod \
88
	optimal_policy/RamseyConstraints/test1.mod \
89
	discretionary_policy/dennis_1.mod \
90
	discretionary_policy/Gali_discretion.mod \
91
	initval_file/ramst_initval_file.mod \
92
	ramst_normcdf_and_friends.mod \
MichelJuillard's avatar
MichelJuillard committed
93
	ramst_vec.mod \
94 95 96 97 98 99 100
	example1_varexo_det.mod \
	predetermined_variables.mod \
	fs2000_nonstationary.mod \
	fs2000_ssfile.mod \
	comments.mod \
	histval_sto.mod \
	histval_det.mod \
101
	auxiliary_variables/test1.mod \
102
	expectations/expectation.mod \
103 104
	expectations/expectation_ss.mod \
	expectations/expectation_ss_old.mod \
105
	expectations/expectation_nested.mod \
106 107 108 109
	steady_state/walsh1_initval.mod \
	steady_state/walsh1_old_ss.mod \
	steady_state/walsh1_ssm.mod \
	steady_state/walsh1_ssm_block.mod \
Houtan Bastani's avatar
Houtan Bastani committed
110
	steady_state/multi_leads.mod \
111
	steady_state/example1_trust_region.mod \
112 113 114 115 116 117 118 119 120 121 122 123 124
	steady_state_operator/standard.mod \
	steady_state_operator/use_dll.mod \
	steady_state_operator/block.mod \
	steady_state_operator/bytecode_test.mod \
	block_bytecode/ireland.mod \
	block_bytecode/ramst_normcdf_and_friends.mod \
	k_order_perturbation/fs2000k2a.mod \
	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 \
125
	k_order_perturbation/fs2000k3_p.mod \
126 127 128 129 130 131 132 133 134 135
	partial_information/PItest3aHc0PCLsimModPiYrVarobsAll.mod \
	partial_information/PItest3aHc0PCLsimModPiYrVarobsCNR.mod \
	arima/mod1.mod \
	arima/mod1a.mod \
	arima/mod1b.mod \
	arima/mod1c.mod \
	arima/mod2.mod \
	arima/mod2a.mod \
	arima/mod2b.mod \
	arima/mod2c.mod \
136
	data/mod1a.mod \
137 138
	fs2000/fs2000a.mod \
	fs2000/fs2000c.mod \
Sébastien Villemot's avatar
Sébastien Villemot committed
139
	fs2000/fs2000_calib.mod \
140
	fs2000/fs2000_calib_dseries.mod \
141
	fs2000/fs2000_missing_data.mod \
Houtan Bastani's avatar
Houtan Bastani committed
142
	fs2000/fs2000_sd.mod \
143 144
	fs2000/fs2000_dseries_a.mod \
	fs2000/fs2000_dseries_b.mod \
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
	homotopy/homotopy1_test.mod \
	homotopy/homotopy2_test.mod \
	homotopy/homotopy3_test.mod \
	bvar_a_la_sims/bvar_standalone.mod \
	bvar_a_la_sims/bvar_and_dsge.mod \
	AIM/fs2000x10L9_L.mod \
	AIM/fs2000x10L9_L_AIM.mod \
	AIM/fs2000x10_L9_L.mod \
	AIM/fs2000x10_L9_L_AIM.mod \
	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 \
	conditional_variance_decomposition/example1.mod \
	dsge-var/simul_hybrid.mod \
	dsge-var/dsgevar_forward_calibrated_lambda.mod \
	dsge-var/dsgevar_forward_estimated_lambda.mod \
164 165 166 167 168 169
	external_function/first_and_2nd_deriv_fcns_provided.mod \
	external_function/first_and_2nd_deriv_fcns_provided_dll.mod \
	external_function/first_deriv_fcn_provided.mod \
	external_function/first_deriv_fcn_provided_dll.mod \
	external_function/no_deriv_fcns_provided.mod \
	external_function/no_deriv_fcns_provided_dll.mod \
170
	seeds.mod \
171 172
	identification/kim/kim2.mod \
	identification/as2007/as2007.mod \
173
	identification/ident_unit_root/ident_unit_root.mod \
174 175
	identification/rbc_ident/rbc_ident_std_as_structural_par.mod \
	identification/rbc_ident/rbc_ident_varexo_only.mod \
176
	identification/correlated_errors/fs2000_corr.mod \
Houtan Bastani's avatar
Houtan Bastani committed
177
	simul/example1.mod \
178
	simul/Solow_no_varexo.mod \
179 180
	simul/simul_ZLB_purely_forward.mod \
	simul/simul_ZLB_purely_forward_no_solution.mod \
181
	simul/Irreversible_investment.mod \
182 183 184
	conditional_forecasts/2/fs2000_est.mod \
	conditional_forecasts/3/fs2000_conditional_forecast_initval.mod \
	conditional_forecasts/4/fs2000_conditional_forecast_histval.mod \
185
	conditional_forecasts/5/fs2000_cal.mod \
186 187
	recursive/ls2003.mod \
	recursive/ls2003_bayesian.mod \
188
	recursive/ls2003_bayesian_xls.mod \
189
	recursive/ls2003_bayesian_csv.mod \
Houtan Bastani's avatar
Houtan Bastani committed
190 191 192 193 194 195 196
	ms-sbvar/test_exclusions.mod \
	ms-sbvar/test_exclusions_nc.mod \
	ms-sbvar/test_lower_cholesky.mod \
	ms-sbvar/test_lower_cholesky_a.mod \
	ms-sbvar/test_lower_cholesky_nc.mod \
	ms-sbvar/test_upper_cholesky.mod \
	ms-sbvar/test_upper_cholesky_nc.mod \
197
	ms-sbvar/test_ms_variances.mod \
Houtan Bastani's avatar
Houtan Bastani committed
198
	ms-dsge/test_ms_dsge.mod \
199
	kalman/lyapunov/fs2000_lyap.mod \
200 201 202 203 204 205 206 207
	kalman/lik_init/fs2000_ns_lik_init_2.mod \
	kalman/lik_init/fs2000_ns_lik_init_3.mod \
	kalman/lik_init/fs2000_ns_lik_init_5.mod \
	kalman/lik_init/fs2000_lik_init_1.mod \
	kalman/lik_init/fs2000_lik_init_2.mod \
	kalman/lik_init/fs2000_lik_init_3.mod \
	kalman/lik_init/fs2000_lik_init_4.mod \
	kalman/lik_init/fs2000_lik_init_5.mod \
Michel Juillard's avatar
Michel Juillard committed
208
	kalman_filter_smoother/gen_data.mod \
MichelJuillard's avatar
MichelJuillard committed
209 210 211 212 213 214 215 216 217 218 219 220
	kalman_filter_smoother/algo1.mod \
	kalman_filter_smoother/algo2.mod \
	kalman_filter_smoother/algo3.mod \
	kalman_filter_smoother/algo4.mod \
	kalman_filter_smoother/algo4a.mod \
	kalman_filter_smoother/algo4b.mod \
	kalman_filter_smoother/algoH1.mod \
	kalman_filter_smoother/algoH2.mod \
	kalman_filter_smoother/algoH3.mod \
	kalman_filter_smoother/fs2000.mod \
	kalman_filter_smoother/fs2000_1.mod \
	kalman_filter_smoother/fs2000_2.mod \
MichelJuillard's avatar
MichelJuillard committed
221
	kalman_filter_smoother/fs2000a.mod \
222
	kalman_filter_smoother/fs2000_smoother_only.mod \
223
	kalman_filter_smoother/fs2000_smoother_only_ns.mod \
224 225
	kalman_filter_smoother/test_compute_Pinf_Pstar_data.mod \
	kalman_filter_smoother/test_compute_Pinf_Pstar.mod \
226 227
	kalman_filter_smoother/check_variable_dimensions/fs2000.mod \
	kalman_filter_smoother/check_variable_dimensions/fs2000_ML.mod \
228 229 230 231
	kalman/likelihood_from_dynare/fs2000_corr_ME.mod \
	kalman/likelihood_from_dynare/fs2000_corr_ME_missing.mod \
	kalman/likelihood_from_dynare/fs2000_uncorr_ME.mod \
	kalman/likelihood_from_dynare/fs2000_uncorr_ME_missing.mod \
232 233 234 235
	kalman/likelihood_from_dynare/fs2000ns_corr_ME.mod \
	kalman/likelihood_from_dynare/fs2000ns_corr_ME_missing.mod \
	kalman/likelihood_from_dynare/fs2000ns_uncorr_ME.mod \
	kalman/likelihood_from_dynare/fs2000ns_uncorr_ME_missing.mod \
MichelJuillard's avatar
MichelJuillard committed
236
	second_order/burnside_1.mod \
237 238 239 240 241
	kalman_filter_smoother/compare_results_simulation/fs2000_ML.mod \
	kalman_filter_smoother/compare_results_simulation/fs2000_ML_loglinear.mod \
	kalman_filter_smoother/compare_results_simulation/fs2000.mod \
	kalman_filter_smoother/compare_results_simulation/fs2000_loglinear.mod \
	second_order/burnside_1.mod \
MichelJuillard's avatar
MichelJuillard committed
242
	second_order/ds1.mod \
243
	second_order/ds2.mod \
244
	ep/rbc2.mod \
245
	ep/rbcii.mod \
246 247
	ep/linearmodel0.mod \
	ep/linearmodel1.mod \
248 249
	stochastic-backward-models/solow_cd.mod \
	stochastic-backward-models/solow_ces.mod \
250
	stochastic-backward-models/solow_cd_with_steadystate.mod \
251
	stochastic-backward-models/backward_linear.mod \
252
	deterministic_simulations/purely_forward/ar1.mod \
253
	deterministic_simulations/purely_forward/nk.mod \
254
	deterministic_simulations/purely_backward/ar1.mod \
255 256 257 258
	deterministic_simulations/rbc_det1.mod \
	deterministic_simulations/rbc_det2.mod \
	deterministic_simulations/rbc_det3.mod \
	deterministic_simulations/rbc_det4.mod \
259
	deterministic_simulations/rbc_det5.mod \
260
	deterministic_simulations/rbc_det6.mod \
261
	deterministic_simulations/homotopy.mod \
262
	deterministic_simulations/homotopy_histval.mod \
263 264 265
	deterministic_simulations/rbc_det_exo_lag_2a.mod \
	deterministic_simulations/rbc_det_exo_lag_2b.mod \
	deterministic_simulations/rbc_det_exo_lag_2c.mod \
266 267 268 269 270 271 272
	deterministic_simulations/multiple_lead_lags/sim_base.mod \
	deterministic_simulations/multiple_lead_lags/sim_exo_lead_lag_aux_vars.mod \
	deterministic_simulations/multiple_lead_lags/sim_exo_lead_lag.mod \
	deterministic_simulations/multiple_lead_lags/sim_endo_lead_lag_aux_vars.mod \
	deterministic_simulations/multiple_lead_lags/sim_endo_lead_lag.mod \
	deterministic_simulations/multiple_lead_lags/sim_lead_lag_aux_vars.mod \
	deterministic_simulations/multiple_lead_lags/sim_lead_lag.mod \
273
	deterministic_simulations/lola_solve_one_boundary.mod \
274
	deterministic_simulations/linear_approximation/sw.mod \
275 276 277
	deterministic_simulations/multiple_lead_lags/AR2.mod \
	deterministic_simulations/multiple_lead_lags/AR2_forward.mod \
	deterministic_simulations/multiple_lead_lags/ramst_augmented_histval.mod \
278
	deterministic_simulations/rbc_det.mod \
279 280
	deterministic_simulations/rbc_det_stack_solve_algo_7.mod \
	lmmcp/rbc.mod \
281 282
	lmmcp/sw_lmmcp.mod \
	lmmcp/sw_newton.mod \
283
	trend_var/fs2000_nonstationary.mod \
284
	trend_var/fs2000_log_nonstationary.mod \
285
	decision_rules/third_order/FV2011.mod \
Johannes Pfeifer 's avatar
Johannes Pfeifer committed
286
	decision_rules/example1.mod \
287
	decision_rules/ar_qz_test.mod \
288 289 290
	shock_decomposition/example1_calib_shock_decomp.mod \
	shock_decomposition/fs2000_est.mod \
	shock_decomposition/fs2000_est_varlist.mod \
291
	shock_decomposition/fs2000_cal_groups.mod \
292
	shock_decomposition/ls2003_plot.mod \
Houtan Bastani's avatar
Houtan Bastani committed
293
	stochastic_purely_forward/stochastic_purely_forward.mod \
294
	stochastic_purely_forward/stochastic_purely_forward_with_static.mod \
295
	forecast/Hansen_exo_det_forecast.mod \
296
	forecast/ls2003_rolling_window_forecast.mod \
297 298 299 300
	gradient/fs2000_numgrad_13.mod \
	gradient/fs2000_numgrad_15.mod \
	gradient/fs2000_numgrad_2.mod \
	gradient/fs2000_numgrad_3.mod \
Sébastien Villemot's avatar
Sébastien Villemot committed
301
	gradient/fs2000_numgrad_5.mod \
302
	filter_step_ahead/fs2000_filter_step_ahead_bayesian.mod \
303
	filter_step_ahead/fs2000_filter_step_ahead_ML.mod \
304
	filter_step_ahead/trend_cycle_decomposition.mod \
305
	loglinear/example4_exp.mod \
306
	loglinear/example4_loglinear.mod \
307 308
	loglinear/example4_loglinear_lagged_exogenous.mod \
	loglinear/example4_loglinear_lagged_exogenous_a.mod \
309 310
	loglinear/example4_exp_histval.mod \
	loglinear/example4_loglinear_histval.mod \
311
	smoother2histval/fs2000_simul.mod \
312
	smoother2histval/fs2000_smooth.mod \
Houtan Bastani's avatar
Houtan Bastani committed
313
	smoother2histval/fs2000_smooth_stoch_simul.mod \
314 315 316
	optimizers/fs2000_2.mod \
	optimizers/fs2000_3.mod \
	optimizers/fs2000_4.mod \
317
	optimizers/fs2000_4_with_optim.mod \
318 319 320 321 322
	optimizers/fs2000_5.mod \
	optimizers/fs2000_7.mod \
	optimizers/fs2000_101.mod \
	optimizers/fs2000_102.mod \
	optimizers/fs2000_w.mod \
323
	differentiate_forward_vars/RBC_differentiate_forward.mod \
324
	partitioning/partitions.mod \
325
	prior_posterior_function/fs2000_prior_posterior_function.mod \
326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341
	observation_trends_and_prefiltering/MCMC/Trend_loglinear_prefilter_MC.mod \
	observation_trends_and_prefiltering/ML/Trend_loglinear_no_prefilter.mod \
	observation_trends_and_prefiltering/ML/Trend_loglinear_no_prefilter_first_obs.mod \
	observation_trends_and_prefiltering/ML/Trend_loglinear_prefilter.mod \
	observation_trends_and_prefiltering/ML/Trend_loglinear_prefilter_first_obs.mod \
	observation_trends_and_prefiltering/ML/Trend_no_prefilter.mod \
	observation_trends_and_prefiltering/ML/Trend_no_prefilter_first_obs.mod \
	observation_trends_and_prefiltering/ML/Trend_prefilter.mod \
	observation_trends_and_prefiltering/ML/Trend_prefilter_first_obs.mod \
	observation_trends_and_prefiltering/calib_smoother/Tr_no_prefilter_calib_smoother.mod \
	observation_trends_and_prefiltering/calib_smoother/Tr_no_prefilt_first_obs_cal_smooth.mod \
	observation_trends_and_prefiltering/calib_smoother/Tr_prefilter_calib_smoother.mod \
	observation_trends_and_prefiltering/calib_smoother/Tr_prefilt_first_obs_cal_smooth.mod \
	observation_trends_and_prefiltering/calib_smoother/Tr_no_prefilter_loglin_calib_smoother.mod \
	observation_trends_and_prefiltering/calib_smoother/Tr_no_prefil_f_obs_loglin_cal_smoother.mod \
	observation_trends_and_prefiltering/calib_smoother/Tr_prefilter_loglin_calib_smoother.mod \
342
	observation_trends_and_prefiltering/calib_smoother/Tr_prefil_f_obs_loglin_cal_smoother.mod \
343 344
	observation_trends_and_prefiltering/ML/Trend_no_prefilter_selected_var.mod \
	dynare-command-options/ramst.mod
345

346 347 348 349
PARTICLEFILES = \
	particle/dsge_base2.mod \
	particle/dsge_unit_root.mod

Houtan Bastani's avatar
Houtan Bastani committed
350

351
XFAIL_MODFILES = ramst_xfail.mod \
352
	estim_param_in_shock_value_xfail.mod \
353
	optimal_policy/Ramsey/ramsey_ex_wrong_ss_file_xfail.mod \
354
	estimation/fs2000_mixed_ML_xfail.mod \
355
	estimation/fs2000_stochastic_singularity_xfail.mod \
356
	identification/ident_unit_root/ident_unit_root_xfail.mod \
357
	steady_state/Linear_steady_state_xfail.mod \
358
	example1_extra_exo_xfail.mod
359

360 361
MFILES = initval_file/ramst_initval_file_data.m

Houtan Bastani's avatar
Houtan Bastani committed
362 363 364 365
# Dependencies
example1_use_dll.m.trs: example1.m.trs
example1_use_dll.o.trs: example1.o.trs

366 367 368 369 370 371
example2long_use_dll.m.trs: example1long.m.trs
example2long_use_dll.o.trs: example1long.o.trs

example2long.m.trs: example1long.m.trs
example2long.o.trs: example1long.o.trs

372 373 374
estimation/MH_recover/fs2000_recover_tarb.m.trs: estimation/MH_recover/fs2000_recover.m.trs
estimation/MH_recover/fs2000_recover_tarb.o.trs: estimation/MH_recover/fs2000_recover.o.trs

Houtan Bastani's avatar
Houtan Bastani committed
375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396
k_order_perturbation/fs2000k_1_m.m.trs: k_order_perturbation/fs2000k2_m.m.trs
k_order_perturbation/fs2000k2_m.m.trs k_order_perturbation/fs2000k3_m.m.trs k_order_perturbation/fs2000k2_use_dll.m.trs k_order_perturbation/fs2000k3_use_dll.m.trs: k_order_perturbation/fs2000k2a.m.trs
k_order_perturbation/fs2000k_1_use_dll.m.trs: k_order_perturbation/fs2000k2_use_dll.m.trs
k_order_perturbation/fs2000k4.m.trs: k_order_perturbation/fs2000k++.m.trs

k_order_perturbation/fs2000k_1_m.o.trs: k_order_perturbation/fs2000k2_m.o.trs
k_order_perturbation/fs2000k2_m.o.trs k_order_perturbation/fs2000k3_m.o.trs k_order_perturbation/fs2000k2_use_dll.o.trs k_order_perturbation/fs2000k3_use_dll.o.trs: k_order_perturbation/fs2000k2a.o.trs
k_order_perturbation/fs2000k_1_use_dll.o.trs: k_order_perturbation/fs2000k2_use_dll.o.trs
k_order_perturbation/fs2000k4.o.trs: k_order_perturbation/fs2000k++.o.trs

kalman_filter_smoother/algo1.m.trs kalman_filter_smoother/algo3.m.trs kalman_filter_smoother/algo4a.m.trs kalman_filter_smoother/algo4b.m.trs kalman_filter_smoother/algoH1.m.trs kalman_filter_smoother/algoH3.m.trs kalman_filter_smoother/fs2000.m.trs kalman_filter_smoother/fs2000_1.m.trs kalman_filter_smoother/fs2000_2.m.trs kalman_filter_smoother/fs2000a.m.trs: kalman_filter_smoother/gen_data.m.trs
kalman_filter_smoother/algo1.o.trs kalman_filter_smoother/algo3.o.trs kalman_filter_smoother/algo4a.o.trs kalman_filter_smoother/algo4b.o.trs kalman_filter_smoother/algoH1.o.trs kalman_filter_smoother/algoH3.o.trs kalman_filter_smoother/fs2000.o.trs kalman_filter_smoother/fs2000_1.o.trs kalman_filter_smoother/fs2000_2.o.trs kalman_filter_smoother/fs2000a.o.trs: kalman_filter_smoother/gen_data.o.trs

kalman_filter_smoother/algo2.m.trs: kalman_filter_smoother/algo1.m.trs
kalman_filter_smoother/algo2.o.trs: kalman_filter_smoother/algo1.o.trs

kalman_filter_smoother/algoH2.m.trs: kalman_filter_smoother/algoH1.m.trs
kalman_filter_smoother/algoH2.o.trs: kalman_filter_smoother/algoH1.o.trs

kalman_filter_smoother/algo4.m.trs: kalman_filter_smoother/algo3.m.trs
kalman_filter_smoother/algo4.o.trs: kalman_filter_smoother/algo3.o.trs

MichelJuillard's avatar
MichelJuillard committed
397 398
kalman_filter_smoother/test_compute_Pinf_Pstar.m.trs: kalman_filter_smoother/test_compute_Pinf_Pstar_data.m.trs
kalman_filter_smoother/test_compute_Pinf_Pstar.o.trs: kalman_filter_smoother/test_compute_Pinf_Pstar_data.o.trs
399

Houtan Bastani's avatar
Houtan Bastani committed
400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416
optimal_policy/nk_ramsey_expectation_a.m.trs: optimal_policy/nk_ramsey_expectation.m.trs
optimal_policy/nk_ramsey_expectation_a.o.trs: optimal_policy/nk_ramsey_expectation.o.trs

second_order/ds2.m.trs: second_order/ds1.m.trs
second_order/ds2.o.trs: second_order/ds1.o.trs

AIM/fs2000_b1L1L_AIM.m.trs: AIM/fs2000_b1L1L.m.trs
AIM/fs2000x10L9_L_AIM.m.trs: AIM/fs2000x10L9_L.m.trs
AIM/fs2000x10_L9_L_AIM.m.trs: AIM/fs2000x10_L9_L.m.trs
AIM/ls2003_2L0L_AIM.m.trs: AIM/ls2003_2L0L.m.trs
AIM/ls2003_2L2L_AIM.m.trs: AIM/ls2003_2L2L.m.trs
AIM/fs2000_b1L1L_AIM.o.trs: AIM/fs2000_b1L1L.o.trs
AIM/fs2000x10L9_L_AIM.o.trs: AIM/fs2000x10L9_L.o.trs
AIM/fs2000x10_L9_L_AIM.o.trs: AIM/fs2000x10_L9_L.o.trs
AIM/ls2003_2L0L_AIM.o.trs: AIM/ls2003_2L0L.o.trs
AIM/ls2003_2L2L_AIM.o.trs: AIM/ls2003_2L2L.o.trs

417 418 419
estimation/fs2000_model_comparison.m.trs: estimation/fs2000.m.trs estimation/fs2000_initialize_from_calib.m.trs estimation/fs2000_calibrated_covariance.m.trs
estimation/fs2000_model_comparison.o.trs: estimation/fs2000.o.trs estimation/fs2000_initialize_from_calib.o.trs estimation/fs2000_calibrated_covariance.o.trs

420 421 422
optimizers/fs2000_102.m.trs: estimation/fs2000.m.trs
optimizers/fs2000_102.o.trs: estimation/fs2000.o.trs

423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440
arima/mod1a.m.trs: arima/mod1.m.trs
arima/mod1b.m.trs: arima/mod1.m.trs
arima/mod1c.m.trs: arima/mod1.m.trs
arima/mod1a.o.trs: arima/mod1.o.trs
arima/mod1b.o.trs: arima/mod1.o.trs
arima/mod1c.o.trs: arima/mod1.o.trs
arima/mod2a.m.trs: arima/mod2.m.trs
arima/mod2b.m.trs: arima/mod2.m.trs
arima/mod2c.m.trs: arima/mod2.m.trs
arima/mod2a.o.trs: arima/mod2.o.trs
arima/mod2b.o.trs: arima/mod2.o.trs
arima/mod2c.o.trs: arima/mod2.o.trs

dsge-var/dsgevar_forward_calibrated_lambda.m.trs: dsge-var/simul_hybrid.m.trs
dsge-var/dsgevar_forward_estimated_lambda.m.trs: dsge-var/simul_hybrid.m.trs
dsge-var/dsgevar_forward_calibrated_lambda.o.trs: dsge-var/simul_hybrid.o.trs
dsge-var/dsgevar_forward_estimated_lambda.o.trs: dsge-var/simul_hybrid.o.trs

441 442 443
smoother2histval/fs2000_simul.m.trs: smoother2histval/fs2000_smooth.m.trs
smoother2histval/fs2000_simul.o.trs: smoother2histval/fs2000_smooth.o.trs

444 445 446 447
deterministic_simulations/rbc_det_exo_lag_2b.m.trs: deterministic_simulations/rbc_det_exo_lag_2a.m.trs
deterministic_simulations/rbc_det_exo_lag_2c.m.trs: deterministic_simulations/rbc_det_exo_lag_2a.m.trs
deterministic_simulations/rbc_det_exo_lag_2b.o.trs: deterministic_simulations/rbc_det_exo_lag_2a.o.trs
deterministic_simulations/rbc_det_exo_lag_2c.o.trs: deterministic_simulations/rbc_det_exo_lag_2a.o.trs
MichelJuillard's avatar
MichelJuillard committed
448 449
deterministic_simulations/rbc_det_stack_solve_algo_7.m.trs: deterministic_simulations/rbc_det.m.trs
deterministic_simulations/rbc_det_stack_solve_algo_7.o.trs: deterministic_simulations/rbc_det.o.trs
450

451 452 453
initval_file/ramst_initval_file.m.trs: initval_file/ramst_initval_file_data.m.tls
initval_file/ramst_initval_file.o.trs: initval_file/ramst_initval_file_data.o.tls

454 455
identification/rbc_ident/rbc_ident_varexo_only.m.trs: identification/rbc_ident/rbc_ident_std_as_structural_par.m.trs
identification/rbc_ident/rbc_ident_varexo_only.o.trs: identification/rbc_ident/rbc_ident_std_as_structural_par.o.trs
456

457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473
deterministic_simulations/multiple_lead_lags/sim_exo_lead_lag_aux_vars.m.trs: deterministic_simulations/multiple_lead_lags/sim_base.m.trs
deterministic_simulations/multiple_lead_lags/sim_exo_lead_lag_aux_vars.o.trs: deterministic_simulations/multiple_lead_lags/sim_base.o.trs

deterministic_simulations/multiple_lead_lags/sim_exo_lead_lag.m.trs: deterministic_simulations/multiple_lead_lags/sim_base.m.trs deterministic_simulations/multiple_lead_lags/sim_exo_lead_lag_aux_vars.m.trs
deterministic_simulations/multiple_lead_lags/sim_exo_lead_lag.o.trs: deterministic_simulations/multiple_lead_lags/sim_base.o.trs deterministic_simulations/multiple_lead_lags/sim_exo_lead_lag_aux_vars.o.trs

deterministic_simulations/multiple_lead_lags/sim_endo_lead_lag_aux_vars.m.trs: deterministic_simulations/multiple_lead_lags/sim_base.m.trs
deterministic_simulations/multiple_lead_lags/sim_endo_lead_lag_aux_vars.o.trs: deterministic_simulations/multiple_lead_lags/sim_base.o.trs

deterministic_simulations/multiple_lead_lags/sim_endo_lead_lag.m.trs: deterministic_simulations/multiple_lead_lags/sim_base.m.trs deterministic_simulations/multiple_lead_lags/sim_endo_lead_lag_aux_vars.m.trs
deterministic_simulations/multiple_lead_lags/sim_endo_lead_lag.o.trs: deterministic_simulations/multiple_lead_lags/sim_base.o.trs deterministic_simulations/multiple_lead_lags/sim_endo_lead_lag_aux_vars.o.trs

deterministic_simulations/multiple_lead_lags/sim_lead_lag_aux_vars.m.trs: deterministic_simulations/multiple_lead_lags/sim_base.m.trs
deterministic_simulations/multiple_lead_lags/sim_lead_lag_aux_vars.o.trs: deterministic_simulations/multiple_lead_lags/sim_base.o.trs

deterministic_simulations/multiple_lead_lags/sim_lead_lag.m.trs: deterministic_simulations/multiple_lead_lags/sim_base.m.trs deterministic_simulations/multiple_lead_lags/sim_lead_lag_aux_vars.m.trs
deterministic_simulations/multiple_lead_lags/sim_lead_lag.o.trs: deterministic_simulations/multiple_lead_lags/sim_base.o.trs deterministic_simulations/multiple_lead_lags/sim_lead_lag_aux_vars.o.trs
474

475 476 477
deterministic_simulations/multiple_lead_lags/ramst_augmented_histval.m.trs: ramst.m.trs 
deterministic_simulations/multiple_lead_lags/ramst_augmented_histval.o.trs: ramst.o.trs

478 479
loglinear/example4_loglinear.m.trs: loglinear/example4_exp.m.trs
loglinear/example4_loglinear.o.trs: loglinear/example4_exp.o.trs
480 481
loglinear/example4_loglinear_lagged_exogenous_a.m.trs: loglinear/example4_loglinear_lagged_exogenous.m.trs 
loglinear/example4_loglinear_lagged_exogenous_a.o.trs: loglinear/example4_loglinear_lagged_exogenous.o.trs 
482

483 484 485
loglinear/example4_loglinear_histval.m.trs: loglinear/example4_exp_histval.m.trs
loglinear/example4_loglinear_histval.o.trs: loglinear/example4_exp_histval.o.trs

486 487 488 489
observation_trends_and_prefiltering/ML/Trend_loglinear_no_prefilter_first_obs.m.trs: observation_trends_and_prefiltering/ML/Trend_loglinear_no_prefilter.m.trs
observation_trends_and_prefiltering/ML/Trend_loglinear_no_prefilter_first_obs.o.trs: observation_trends_and_prefiltering/ML/Trend_loglinear_no_prefilter.o.trs
observation_trends_and_prefiltering/ML/Trend_loglinear_no_prefilter.m.trs: observation_trends_and_prefiltering/ML/Trend_no_prefilter.m.trs
observation_trends_and_prefiltering/ML/Trend_loglinear_no_prefilter.o.trs: observation_trends_and_prefiltering/ML/Trend_no_prefilter.o.trs
490

491
observation_trends_and_prefiltering/MCMC/Trend_no_prefilter_first_obs_MC.m.trs: observation_trends_and_prefiltering/MCMC/Trend_loglinear_no_prefilter_MC.m.trs
492
observation_trends_and_prefiltering/MCMC/Trend_no_prefilter_first_obs_MC.o.trs: observation_trends_and_prefiltering/MCMC/Trend_loglinear_no_prefilter_MC.o.trs
493
observation_trends_and_prefiltering/MCMC/Trend_no_prefilter_MC.m.trs: observation_trends_and_prefiltering/MCMC/Trend_no_prefilter_first_obs_MC.m.trs
494
observation_trends_and_prefiltering/MCMC/Trend_no_prefilter_MC.o.trs: observation_trends_and_prefiltering/MCMC/Trend_no_prefilter_first_obs_MC.o.trs
495
observation_trends_and_prefiltering/MCMC/Trend_loglinear_prefilter_MC.m.trs: observation_trends_and_prefiltering/MCMC/Trend_no_prefilter_MC.m.trs
496
observation_trends_and_prefiltering/MCMC/Trend_loglinear_prefilter_MC.o.trs: observation_trends_and_prefiltering/MCMC/Trend_no_prefilter_MC.o.trs
497
observation_trends_and_prefiltering/MCMC/Trend_loglin_prefilt_first_obs_MC.m.trs: observation_trends_and_prefiltering/MCMC/Trend_loglinear_prefilter_MC.m.trs
498
observation_trends_and_prefiltering/MCMC/Trend_loglin_prefilt_first_obs_MC.o.trs: observation_trends_and_prefiltering/MCMC/Trend_loglinear_prefilter_MC.o.trs
499
observation_trends_and_prefiltering/MCMC/Trend_prefilter_first_obs_MC.m.trs: observation_trends_and_prefiltering/MCMC/Trend_loglin_prefilt_first_obs_MC.m.trs
500
observation_trends_and_prefiltering/MCMC/Trend_prefilter_first_obs_MC.o.trs: observation_trends_and_prefiltering/MCMC/Trend_loglin_prefilt_first_obs_MC.o.trs
501
observation_trends_and_prefiltering/MCMC/Trend_prefilter_MC.m.trs: observation_trends_and_prefiltering/MCMC/Trend_prefilter_first_obs_MC.m.trs
502
observation_trends_and_prefiltering/MCMC/Trend_prefilter_MC.o.trs: observation_trends_and_prefiltering/MCMC/Trend_prefilter_first_obs_MC.o.trs
503
observation_trends_and_prefiltering/MCMC/Trend_loglin_no_prefilt_first_obs_MC.m.trs: observation_trends_and_prefiltering/MCMC/Trend_prefilter_MC.m.trs
504
observation_trends_and_prefiltering/MCMC/Trend_loglin_no_prefilt_first_obs_MC.o.trs: observation_trends_and_prefiltering/MCMC/Trend_prefilter_MC.o.trs
505

506 507 508 509 510 511 512 513 514 515 516 517 518 519 520
observation_trends_and_prefiltering/calib_smoother/Tr_no_prefil_f_obs_loglin_cal_smoother.m.trs: observation_trends_and_prefiltering/calib_smoother/Tr_no_prefilter_calib_smoother.m.trs
observation_trends_and_prefiltering/calib_smoother/Tr_no_prefil_f_obs_loglin_cal_smoother.o.trs: observation_trends_and_prefiltering/calib_smoother/Tr_no_prefilter_calib_smoother.o.trs
observation_trends_and_prefiltering/calib_smoother/Tr_no_prefilter_loglin_calib_smoother.m.trs: observation_trends_and_prefiltering/calib_smoother/Tr_no_prefil_f_obs_loglin_cal_smoother.m.trs
observation_trends_and_prefiltering/calib_smoother/Tr_no_prefilter_loglin_calib_smoother.o.trs: observation_trends_and_prefiltering/calib_smoother/Tr_no_prefil_f_obs_loglin_cal_smoother.o.trs
observation_trends_and_prefiltering/calib_smoother/Tr_no_prefilt_first_obs_cal_smooth.m.trs: observation_trends_and_prefiltering/calib_smoother/Tr_no_prefilter_loglin_calib_smoother.m.trs
observation_trends_and_prefiltering/calib_smoother/Tr_no_prefilt_first_obs_cal_smooth.o.trs: observation_trends_and_prefiltering/calib_smoother/Tr_no_prefilter_loglin_calib_smoother.o.trs
observation_trends_and_prefiltering/calib_smoother/Tr_prefil_f_obs_loglin_cal_smoother.m.trs: observation_trends_and_prefiltering/calib_smoother/Tr_no_prefilt_first_obs_cal_smooth.m.trs
observation_trends_and_prefiltering/calib_smoother/Tr_prefil_f_obs_loglin_cal_smoother.o.trs: observation_trends_and_prefiltering/calib_smoother/Tr_no_prefilt_first_obs_cal_smooth.o.trs
observation_trends_and_prefiltering/calib_smoother/Tr_prefilter_calib_smoother.m.trs: observation_trends_and_prefiltering/calib_smoother/Tr_prefil_f_obs_loglin_cal_smoother.m.trs
observation_trends_and_prefiltering/calib_smoother/Tr_prefilter_calib_smoother.o.trs: observation_trends_and_prefiltering/calib_smoother/Tr_prefil_f_obs_loglin_cal_smoother.o.trs
observation_trends_and_prefiltering/calib_smoother/Tr_prefilter_loglin_calib_smoother.m.trs: observation_trends_and_prefiltering/calib_smoother/Tr_prefilter_calib_smoother.m.trs
observation_trends_and_prefiltering/calib_smoother/Tr_prefilter_loglin_calib_smoother.o.trs: observation_trends_and_prefiltering/calib_smoother/Tr_prefilter_calib_smoother.o.trs
observation_trends_and_prefiltering/calib_smoother/Tr_prefilt_first_obs_cal_smooth.m.trs: observation_trends_and_prefiltering/calib_smoother/Tr_prefilter_loglin_calib_smoother.m.trs
observation_trends_and_prefiltering/calib_smoother/Tr_prefilt_first_obs_cal_smooth.o.trs: observation_trends_and_prefiltering/calib_smoother/Tr_prefilter_loglin_calib_smoother.o.trs

521 522 523 524 525 526
kalman/likelihood_from_dynare/fs2000_corr_ME.m.trs: kalman/likelihood_from_dynare/fs2000_uncorr_ME.m.trs
kalman/likelihood_from_dynare/fs2000_corr_ME.o.trs: kalman/likelihood_from_dynare/fs2000_uncorr_ME.o.trs
kalman/likelihood_from_dynare/fs2000_uncorr_ME_missing.m.trs: kalman/likelihood_from_dynare/fs2000_uncorr_ME.m.trs
kalman/likelihood_from_dynare/fs2000_uncorr_ME_missing.o.trs: kalman/likelihood_from_dynare/fs2000_uncorr_ME.o.trs
kalman/likelihood_from_dynare/fs2000_corr_ME_missing.m.trs: kalman/likelihood_from_dynare/fs2000_uncorr_ME.m.trs
kalman/likelihood_from_dynare/fs2000_corr_ME_missing.o.trs: kalman/likelihood_from_dynare/fs2000_uncorr_ME.o.trs
527

528 529 530 531 532 533 534
kalman/likelihood_from_dynare/fs2000ns_corr_ME.m.trs: kalman/likelihood_from_dynare/fs2000ns_uncorr_ME.m.trs
kalman/likelihood_from_dynare/fs2000ns_corr_ME.o.trs: kalman/likelihood_from_dynare/fs2000ns_uncorr_ME.o.trs
kalman/likelihood_from_dynare/fs2000ns_uncorr_ME_missing.m.trs: kalman/likelihood_from_dynare/fs2000ns_uncorr_ME.m.trs
kalman/likelihood_from_dynare/fs2000ns_uncorr_ME_missing.o.trs: kalman/likelihood_from_dynare/fs2000ns_uncorr_ME.o.trs
kalman/likelihood_from_dynare/fs2000ns_corr_ME_missing.m.trs: kalman/likelihood_from_dynare/fs2000ns_uncorr_ME.m.trs
kalman/likelihood_from_dynare/fs2000ns_corr_ME_missing.o.trs: kalman/likelihood_from_dynare/fs2000ns_uncorr_ME.o.trs

535 536 537
lmmcp/sw_newton.m.trs: lmmcp/sw_lmmcp.m.trs
lmmcp/sw_newton.o.trs: lmmcp/sw_lmmcp.o.trs

538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645
observation_trends_and_prefiltering/MCMC: m/observation_trends_and_prefiltering/MCMC o/observation_trends_and_prefiltering/MCMC
m/observation_trends_and_prefiltering/MCMC: $(patsubst %.mod, %.m.trs, $(filter observation_trends_and_prefiltering/MCMC/%.mod, $(MODFILES)))
o/observation_trends_and_prefiltering/MCMC: $(patsubst %.mod, %.o.trs, $(filter observation_trends_and_prefiltering/MCMC/%.mod, $(MODFILES)))

observation_trends_and_prefiltering/ML: m/observation_trends_and_prefiltering/ML o/observation_trends_and_prefiltering/ML
m/observation_trends_and_prefiltering/ML: $(patsubst %.mod, %.m.trs, $(filter observation_trends_and_prefiltering/ML/%.mod, $(MODFILES)))
o/observation_trends_and_prefiltering/ML: $(patsubst %.mod, %.o.trs, $(filter observation_trends_and_prefiltering/ML/%.mod, $(MODFILES)))

observation_trends_and_prefiltering/calib_smoother: m/observation_trends_and_prefiltering/calib_smoother o/observation_trends_and_prefiltering/calib_smoother
m/observation_trends_and_prefiltering/calib_smoother: $(patsubst %.mod, %.m.trs, $(filter observation_trends_and_prefiltering/calib_smoother/%.mod, $(MODFILES)))
o/observation_trends_and_prefiltering/calib_smoother: $(patsubst %.mod, %.o.trs, $(filter observation_trends_and_prefiltering/calib_smoother/%.mod, $(MODFILES)))

observation_trends_and_prefiltering: m/observation_trends_and_prefiltering o/observation_trends_and_prefiltering
m/observation_trends_and_prefiltering: $(patsubst %.mod, %.m.trs, $(filter observation_trends_and_prefiltering/%.mod, $(MODFILES)))
o/observation_trends_and_prefiltering: $(patsubst %.mod, %.o.trs, $(filter observation_trends_and_prefiltering/%.mod, $(MODFILES)))

stochastic-backward-models: m/stochastic-backward-models o/stochastic-backward-models
m/stochastic-backward-models: $(patsubst %.mod, %.m.trs, $(filter stochastic-backward-models/%.mod, $(MODFILES)))
o/stochastic-backward-models: $(patsubst %.mod, %.o.trs, $(filter stochastic-backward-models/%.mod, $(MODFILES)))

arima: m/arima o/arima
m/arima: $(patsubst %.mod, %.m.trs, $(filter arima/%.mod, $(MODFILES)))
o/arima: $(patsubst %.mod, %.o.trs, $(filter arima/%.mod, $(MODFILES)))

homotopy: m/homotopy o/homotopy
m/homotopy: $(patsubst %.mod, %.m.trs, $(filter homotopy/%.mod, $(MODFILES)))
o/homotopy: $(patsubst %.mod, %.o.trs, $(filter homotopy/%.mod, $(MODFILES)))

expectations: m/expectations o/expectations
m/expectations: $(patsubst %.mod, %.m.trs, $(filter expectations/%.mod, $(MODFILES)))
o/expectations: $(patsubst %.mod, %.o.trs, $(filter expectations/%.mod, $(MODFILES)))

external_function: m/external_function o/external_function
m/external_function: $(patsubst %.mod, %.m.trs, $(filter external_function/%.mod, $(MODFILES)))
o/external_function: $(patsubst %.mod, %.o.trs, $(filter external_function/%.mod, $(MODFILES)))

trend_var: m/trend_var o/trend_var
m/trend_var: $(patsubst %.mod, %.m.trs, $(filter trend_var/%.mod, $(MODFILES)))
o/trend_var: $(patsubst %.mod, %.o.trs, $(filter trend_var/%.mod, $(MODFILES)))

moments: m/moments o/moments
m/moments: $(patsubst %.mod, %.m.trs, $(filter moments/%.mod, $(MODFILES)))
o/moments: $(patsubst %.mod, %.o.trs, $(filter moments/%.mod, $(MODFILES)))

AIM: m/AIM o/AIM
m/AIM: $(patsubst %.mod, %.m.trs, $(filter AIM/%.mod, $(MODFILES)))
o/AIM: $(patsubst %.mod, %.o.trs, $(filter AIM/%.mod, $(MODFILES)))

second_order: m/second_order o/second_order
m/second_order: $(patsubst %.mod, %.m.trs, $(filter second_order/%.mod, $(MODFILES)))
o/second_order: $(patsubst %.mod, %.o.trs, $(filter second_order/%.mod, $(MODFILES)))

decision_rules: m/decision_rules o/decision_rules
m/decision_rules: $(patsubst %.mod, %.m.trs, $(filter decision_rules/%.mod, $(MODFILES)))
o/decision_rules: $(patsubst %.mod, %.o.trs, $(filter decision_rules/%.mod, $(MODFILES)))

k_order_perturbation: m/k_order_perturbation o/k_order_perturbation
m/k_order_perturbation: $(patsubst %.mod, %.m.trs, $(filter k_order_perturbation/%.mod, $(MODFILES)))
o/k_order_perturbation: $(patsubst %.mod, %.o.trs, $(filter k_order_perturbation/%.mod, $(MODFILES)))

optimal_policy/OSR: m/optimal_policy/OSR o/optimal_policy/OSR
m/optimal_policy/OSR: $(patsubst %.mod, %.m.trs, $(filter optimal_policy/OSR/%.mod, $(MODFILES)))
o/optimal_policy/OSR: $(patsubst %.mod, %.o.trs, $(filter optimal_policy/OSR/%.mod, $(MODFILES)))

optimal_policy/Ramsey: m/optimal_policy/Ramsey o/optimal_policy/Ramsey
m/optimal_policy/Ramsey: $(patsubst %.mod, %.m.trs, $(filter optimal_policy/Ransey/%.mod, $(MODFILES)))
o/optimal_policy/Ramsey: $(patsubst %.mod, %.o.trs, $(filter optimal_policy/Ramsey/%.mod, $(MODFILES)))

optimal_policy: m/optimal_policy o/optimal_policy
m/optimal_policy: $(patsubst %.mod, %.m.trs, $(filter optimal_policy/%.mod, $(MODFILES)))
o/optimal_policy: $(patsubst %.mod, %.o.trs, $(filter optimal_policy/%.mod, $(MODFILES)))

discretionary_policy: m/discretionary_policy o/discretionary_policy
m/discretionary_policy: $(patsubst %.mod, %.m.trs, $(filter discretionary_policy/%.mod, $(MODFILES)))
o/discretionary_policy: $(patsubst %.mod, %.o.trs, $(filter discretionary_policy/%.mod, $(MODFILES)))

steady_state: m/steady_state o/steady_state
m/steady_state: $(patsubst %.mod, %.m.trs, $(filter steady_state/%.mod, $(MODFILES)))
o/steady_state: $(patsubst %.mod, %.o.trs, $(filter steady_state/%.mod, $(MODFILES)))

steady_state_operator: m/steady_state_operator o/steady_state_operator
m/steady_state_operator: $(patsubst %.mod, %.m.trs, $(filter steady_state_operator/%.mod, $(MODFILES)))
o/steady_state_operator: $(patsubst %.mod, %.o.trs, $(filter steady_state_operator/%.mod, $(MODFILES)))

deterministic_simulations/multiple_lead_lags: m/deterministic_simulations/multiple_lead_lags o/deterministic_simulations/multiple_lead_lags
m/deterministic_simulations/multiple_lead_lags: $(patsubst %.mod, %.m.trs, $(filter deterministic_simulations/multiple_lead_lags/%.mod, $(MODFILES)))
o/deterministic_simulations/multiple_lead_lags: $(patsubst %.mod, %.o.trs, $(filter deterministic_simulations/multiple_lead_lags/%.mod, $(MODFILES)))

deterministic_simulations: m/deterministic_simulations o/deterministic_simulations
m/deterministic_simulations: $(patsubst %.mod, %.m.trs, $(filter deterministic_simulations/%.mod, $(MODFILES)))
o/deterministic_simulations: $(patsubst %.mod, %.o.trs, $(filter deterministic_simulations/%.mod, $(MODFILES)))

simul: m/simul o/simul
m/simul: $(patsubst %.mod, %.m.trs, $(filter simul/%.mod, $(MODFILES)))
o/simul: $(patsubst %.mod, %.o.trs, $(filter simul/%.mod, $(MODFILES)))

ep: m/ep o/ep
m/ep: $(patsubst %.mod, %.m.trs, $(filter ep/%.mod, $(MODFILES)))
o/ep: $(patsubst %.mod, %.o.trs, $(filter ep/%.mod, $(MODFILES)))

ms-sbvar: m/ms-sbvar o/ms-sbvar
m/ms-sbvar: $(patsubst %.mod, %.m.trs, $(filter ms-sbvar/%.mod, $(MODFILES)))
o/ms-sbvar: $(patsubst %.mod, %.o.trs, $(filter ms-sbvar/%.mod, $(MODFILES)))

lmmcp: m/lmmcp o/lmmcp
m/lmmcp: $(patsubst %.mod, %.m.trs, $(filter lmmcp/%.mod, $(MODFILES)))
o/lmmcp: $(patsubst %.mod, %.o.trs, $(filter lmmcp/%.mod, $(MODFILES)))

646 647 648 649
loglinear: m/loglinear o/loglinear
m/loglinear: $(patsubst %.mod, %.m.trs, $(filter loglinear/%.mod, $(MODFILES)))
o/loglinear: $(patsubst %.mod, %.o.trs, $(filter loglinear/%.mod, $(MODFILES)))

650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705
gsa: m/gsa o/gsa
m/gsa: $(patsubst %.mod, %.m.trs, $(filter gsa/%.mod, $(MODFILES)))
o/gsa: $(patsubst %.mod, %.o.trs, $(filter gsa/%.mod, $(MODFILES)))

identification: m/identification o/identification
m/identification: $(patsubst %.mod, %.m.trs, $(filter identification/%.mod, $(MODFILES)))
o/identification: $(patsubst %.mod, %.o.trs, $(filter identification/%.mod, $(MODFILES)))

fs2000: m/fs2000 o/fs2000
m/fs2000: $(patsubst %.mod, %.m.trs, $(filter fs2000/%.mod, $(MODFILES)))
o/fs2000: $(patsubst %.mod, %.o.trs, $(filter fs2000/%.mod, $(MODFILES)))

estimation/MH_recover: m/estimation/MH_recover o/estimation/MH_recover
m/estimation/MH_recover: $(patsubst %.mod, %.m.trs, $(filter estimation/MH_recover/%.mod, $(MODFILES)))
o/estimation/MH_recover: $(patsubst %.mod, %.o.trs, $(filter estimation/MH_recover/%.mod, $(MODFILES)))

estimation: m/estimation o/estimation
m/estimation: $(patsubst %.mod, %.m.trs, $(filter estimation/%.mod, $(MODFILES)))
o/estimation: $(patsubst %.mod, %.o.trs, $(filter estimation/%.mod, $(MODFILES)))

kalman/likelihood_from_dynare: m/kalman/likelihood_from_dynare o/kalman/likelihood_from_dynare
m/kalman/likelihood_from_dynare: $(patsubst %.mod, %.m.trs, $(filter kalman/likelihood_from_dynare/%.mod, $(MODFILES)))
o/kalman/likelihood_from_dynare: $(patsubst %.mod, %.o.trs, $(filter kalman/likelihood_from_dynare/%.mod, $(MODFILES)))

kalman/lik_init: m/kalman/lik_init o/kalman/lik_init
m/kalman/lik_init: $(patsubst %.mod, %.m.trs, $(filter kalman/lik_init/%.mod, $(MODFILES)))
o/kalman/lik_init: $(patsubst %.mod, %.o.trs, $(filter kalman/lik_init/%.mod, $(MODFILES)))

kalman: m/kalman o/kalman
m/kalman: $(patsubst %.mod, %.m.trs, $(filter kalman/%.mod, $(MODFILES)))
o/kalman: $(patsubst %.mod, %.o.trs, $(filter kalman/%.mod, $(MODFILES)))

dsge-var: m/dsge-var o/dsge-var
m/dsge-var: $(patsubst %.mod, %.m.trs, $(filter dsge-var/%.mod, $(MODFILES)))
o/dsge-var: $(patsubst %.mod, %.o.trs, $(filter dsge-var/%.mod, $(MODFILES)))

kalman_filter_smoother: m/kalman_filter_smoother o/kalman_filter_smoother
m/kalman_filter_smoother: $(patsubst %.mod, %.m.trs, $(filter kalman_filter_smoother/%.mod, $(MODFILES)))
o/kalman_filter_smoother: $(patsubst %.mod, %.o.trs, $(filter kalman_filter_smoother/%.mod, $(MODFILES)))

shock_decomposition: m/shock_decomposition o/shock_decomposition
m/shock_decomposition: $(patsubst %.mod, %.m.trs, $(filter shock_decomposition/%.mod, $(MODFILES)))
o/shock_decomposition: $(patsubst %.mod, %.o.trs, $(filter shock_decomposition/%.mod, $(MODFILES)))

conditional_forecasts: m/conditional_forecasts o/conditional_forecasts
m/conditional_forecasts: $(patsubst %.mod, %.m.trs, $(filter conditional_forecasts/%.mod, $(MODFILES)))
o/conditional_forecasts: $(patsubst %.mod, %.o.trs, $(filter conditional_forecasts/%.mod, $(MODFILES)))

optimizers: m/optimizers o/optimizers
m/optimizers: $(patsubst %.mod, %.m.trs, $(filter optimizers/%.mod, $(MODFILES)))
o/optimizers: $(patsubst %.mod, %.o.trs, $(filter optimizers/%.mod, $(MODFILES)))

gradient: m/gradient o/gradient
m/gradient: $(patsubst %.mod, %.m.trs, $(filter gradient/%.mod, $(MODFILES)))
o/gradient: $(patsubst %.mod, %.o.trs, $(filter gradient/%.mod, $(MODFILES)))

706 707 708 709
particle: m/particle o/particle
m/particle: $(patsubst %.mod, %.m.trs, $(PARTICLEFILES))
o/particle: $(patsubst %.mod, %.o.trs, $(PARTICLEFILES))

Houtan Bastani's avatar
Houtan Bastani committed
710
# Matlab TRS Files
711
M_TRS_FILES = $(patsubst %.mod, %.m.trs, $(MODFILES))
712
M_TRS_FILES += run_block_byte_tests_matlab.m.trs run_reporting_test_matlab.m.trs run_all_unitary_tests.m.trs
713
M_XFAIL_TRS_FILES = $(patsubst %.mod, %.m.trs, $(XFAIL_MODFILES))
Houtan Bastani's avatar
Houtan Bastani committed
714 715

# Octave TRS Files
716
O_TRS_FILES = $(patsubst %.mod, %.o.trs, $(MODFILES))
717
O_TRS_FILES += run_block_byte_tests_octave.o.trs run_reporting_test_octave.o.trs run_all_unitary_tests.o.trs
718
O_XFAIL_TRS_FILES = $(patsubst %.mod, %.o.trs, $(XFAIL_MODFILES))
Houtan Bastani's avatar
Houtan Bastani committed
719

720 721 722 723 724 725
# Matlab TLS Files
M_TLS_FILES = $(patsubst %.m, %.m.tls, $(MFILES))

# Octave TLS Files
O_TLS_FILES = $(patsubst %.m, %.o.tls, $(MFILES))

726
EXTRA_DIST = \
Houtan Bastani's avatar
Houtan Bastani committed
727 728 729
	read_trs_files.sh \
	run_test_matlab.m \
	run_test_octave.m \
730
	load_octave_packages.m \
731
	$(MODFILES) \
732
	$(XFAIL_MODFILES) \
733
	$(MFILES) \
Houtan Bastani's avatar
Houtan Bastani committed
734 735
	run_block_byte_tests_matlab.m \
	run_block_byte_tests_octave.m \
Houtan Bastani's avatar
Houtan Bastani committed
736 737
	run_reporting_test_matlab.m \
	run_reporting_test_octave.m \
738
	run_all_unitary_tests.m \
Houtan Bastani's avatar
Houtan Bastani committed
739 740 741 742 743 744 745 746 747 748
	reporting/AnnualTable.m \
	reporting/CommResidTablePage.m \
	reporting/CountryGraphPage.m \
	reporting/CountryTablePage.m \
	reporting/ResidTablePage.m \
	reporting/db_a.csv \
	reporting/db_q.csv \
	reporting/dc_a.csv \
	reporting/dc_q.csv \
	reporting/runDynareReport.m \
749 750 751 752 753
	homotopy/common.mod \
	block_bytecode/ls2003.mod \
	fs2000_ssfile_aux.m \
	printMakeCheckMatlabErrMsg.m \
	printMakeCheckOctaveErrMsg.m \
754
	fataltest.m \
755 756 757 758
	AIM/data_ca1.m \
	AIM/fsdat.m \
	block_bytecode/run_ls2003.m \
	bvar_a_la_sims/bvar_sample.m \
759
	dates/fsdat_simul.m \
760 761 762
	external_function/extFunDeriv.m \
	external_function/extFunNoDerivs.m \
	external_function/extFunWithFirstAndSecondDerivs.m \
763
	expectations/expectation_ss_old_steadystate.m \
764
	filter_step_ahead/trend_cycle_decomposition_data.m \
765
	steady_state/walsh1_old_ss_steadystate.m \
766
	data/test.xlsx \
767
	gsa/morris/nk_est_data.m \
768
	analytic_derivatives/fsdat_simul.m \
769 770 771 772
	fs2000/fsdat_simul.m \
	k_order_perturbation/run_fs2000kplusplus.m \
	ls2003/data_ca1.m \
	measurement_errors/data_ca1.m \
773
	measurement_errors/fs2000_corr_me_ml_mcmc/fsdat_simul.m \
774
	missing/simulate_data_with_missing_observations.m \
Houtan Bastani's avatar
Houtan Bastani committed
775
	objectives/sgu_ex1.mat \
776
	conditional_forecasts/2/fsdat_simul.m \
777 778
	ms-sbvar/data.m \
	ms-sbvar/archive-files/ftd_2s_caseall_upperchol3v.m \
Sébastien Villemot's avatar
Sébastien Villemot committed
779
	ms-sbvar/archive-files/ftd_2s_caseall_upperchol4v.m \
780 781 782 783 784 785 786 787 788 789 790 791
	ms-sbvar/archive-files/ftd_2s_caseall_upperchol6v.m \
	ms-sbvar/archive-files/ftd_2s_caseall_upperchol7v.m \
	ms-sbvar/archive-files/ftd_RSvensson_4v.m \
	ms-sbvar/archive-files/ftd_cholesky.m \
	ms-sbvar/archive-files/ftd_non_rec_5v.m \
	ms-sbvar/archive-files/ftd_simszha5v.m \
	ms-sbvar/archive-files/ftd_upperchol3v.m \
	ms-sbvar/archive-files/ftd_upperchol4v.m \
	ms-sbvar/archive-files/ftd_upperchol5v.m \
	ms-sbvar/archive-files/ftd_upperchol6v.m \
	ms-sbvar/archive-files/ftd_upperchol7v.m \
	ms-sbvar/archive-files/specification_2v.dat \
792
	ms-sbvar/archive-files/specification_2v2c.dat \
MichelJuillard's avatar
MichelJuillard committed
793
	recursive/data_ca1.m \
MichelJuillard's avatar
MichelJuillard committed
794
	kalman_filter_smoother/fsdat_simul.m \
795 796
	kalman/lik_init/fs2000_common.inc \
	kalman/lik_init/fs2000_ns_common.inc \
797
	kalman_filter_smoother/compare_results_simulation/fsdat_simul_logged.m \
798 799
	kalman/likelihood_from_dynare/fs2000_model.inc \
	kalman/likelihood_from_dynare/fs2000_estimation_check.inc \
800 801
	kalman/likelihood_from_dynare/fs2000ns_model.inc \
	kalman/likelihood_from_dynare/fs2000ns_estimation_check.inc \
802
	identification/kim/kim2_steadystate.m \
803
	identification/as2007/as2007_steadystate.m \
804
	estimation/fsdat_simul.m \
805
	ep/mean_preserving_spread.m \
806
	decision_rules/third_order/comparison_policy_functions_dynare_mathematica.m \
807
	shock_decomposition/example1_calib_shock_decomp_data.mat \
808
	shock_decomposition/fsdat_simul.m \
809
	smoother2histval/fsdat_simul.m \
810
	optimal_policy/Ramsey/find_c.m \
811
	optimal_policy/Ramsey/oo_ramsey_policy_initval.mat \
812 813 814 815 816 817 818 819 820 821 822
	observation_trends_and_prefiltering/Trend_diagnostics_MCMC_common.inc \
	observation_trends_and_prefiltering/Trend_diagnostics_calib_common.inc \
	observation_trends_and_prefiltering/Trend_diagnostics_ML_common.inc \
	observation_trends_and_prefiltering/Trend_exp_model_prefilter_common.inc \
	observation_trends_and_prefiltering/Trend_exp_model_no_prefilter_common.inc \
	observation_trends_and_prefiltering/Trend_model_prefilter_common.inc \
	observation_trends_and_prefiltering/Trend_model_no_prefilter_common.inc \
	observation_trends_and_prefiltering/Trend_exp_model_calib_prefilter_common.inc \
	observation_trends_and_prefiltering/Trend_exp_model_calib_no_prefilter_common.inc \
	observation_trends_and_prefiltering/Trend_model_calib_prefilter_common.inc \
	observation_trends_and_prefiltering/Trend_model_calib_no_prefilter_common.inc \
823 824
	observation_trends_and_prefiltering/Trend_load_data_common.inc \
	observation_trends_and_prefiltering/Trend_no_prefilter_conditional_forecast.inc \
825
	optimal_policy/Ramsey/oo_ramsey_policy_initval.mat \
826
	optimizers/optimizer_function_wrapper.m \
827
	optimizers/fs2000.common.inc \
828
	estimation/MH_recover/fs2000.common.inc \
MichelJuillard's avatar
MichelJuillard committed
829
	prior_posterior_function/posterior_function_demo.m
830

831

832
TARGETS =
833
TEXTOUT =
834 835 836

if HAVE_CMD_LINE_MATLAB
TARGETS += check-matlab
837
TEXTOUT += run_test_matlab_output.txt
838 839 840 841
endif

if HAVE_OCTAVE
TARGETS += check-octave
842
TEXTOUT += run_test_octave_output.txt
843 844
endif

845
check-local: $(TEXTOUT)
846
	@cat $(TEXTOUT)
Houtan Bastani's avatar
Houtan Bastani committed
847

848 849
$(TEXTOUT): $(TARGETS)

850
check-matlab: $(M_XFAIL_TRS_FILES) $(M_TRS_FILES)
851
	./read_trs_files.sh "$(M_TRS_FILES)" "$(M_XFAIL_TRS_FILES)"
Houtan Bastani's avatar
Houtan Bastani committed
852 853
	@echo 'Matlab Tests Done'

854
check-octave: $(O_XFAIL_TRS_FILES) $(O_TRS_FILES)
855
	./read_trs_files.sh "$(O_TRS_FILES)" "$(O_XFAIL_TRS_FILES)"
Houtan Bastani's avatar
Houtan Bastani committed
856
	@echo 'Octave Tests Done'
857

Houtan Bastani's avatar
Houtan Bastani committed
858
%.m.trs %.m.log: %.mod
Stéphane Adjemian (Hermes)'s avatar
Stéphane Adjemian (Hermes) committed
859
	@echo "`tput bold``tput setaf 8`MATLAB: $(PWD)/$*... `tput sgr0`"
860
	@DYNARE_VERSION="$(PACKAGE_VERSION)" TOP_TEST_DIR="$(PWD)" FILESTEM="$*" \
861
		$(MATLAB)/bin/matlab -nosplash -nodisplay -r run_test_matlab > $*.m.log  2> /dev/null || \
862
	printf ":test-result: FAIL\n:number-tests: 1\n:number-failed-tests: 1\n:list-of-failed-tests: $*.mod\n:elapsed-time: 0.0\n" > $*.m.trs
863
	@if grep -q ":test-result: PASS" $*.m.trs; then \
864
	echo "`tput bold``tput setaf 2`MATLAB: $(PWD)/$* PASSED!`tput sgr0`" ; \
865
	else \
866
	echo "`tput bold``tput setaf 1`MATLAB: $(PWD)/$* FAILED!`tput sgr0`" ; \
867
	fi
Houtan Bastani's avatar
Houtan Bastani committed
868

869 870 871
%.m.drs %.m.log: %.m.trs
	@cat $*.m.log

Houtan Bastani's avatar
Houtan Bastani committed
872
%.m.trs %.m.log : %.m
Stéphane Adjemian (Hermes)'s avatar
Stéphane Adjemian (Hermes) committed
873
	@echo "`tput bold``tput setaf 8`MATLAB: $(PWD)/$*... `tput sgr0`"
874 875
	@DYNARE_VERSION="$(PACKAGE_VERSION)" TOP_TEST_DIR="$(PWD)" \
		$(MATLAB)/bin/matlab -nosplash -nodisplay -r $* > $*.m.log 2> /dev/null 
Stéphane Adjemian (Hermes)'s avatar
Stéphane Adjemian (Hermes) committed
876
	@echo "`tput bold``tput setaf 8`MATLAB: $(PWD)/$* Done!`tput sgr0`"
Houtan Bastani's avatar
Houtan Bastani committed
877 878

%.o.trs %.o.log: %.mod
Stéphane Adjemian (Hermes)'s avatar
Stéphane Adjemian (Hermes) committed
879
	@echo "`tput bold``tput setaf 8`OCTAVE: $(PWD)/$*... `tput sgr0`"
880
	@DYNARE_VERSION="$(PACKAGE_VERSION)" TOP_TEST_DIR="$(PWD)" FILESTEM="$*" \
881
		$(OCTAVE) --no-init-file --silent --no-history --path "$*.mod" run_test_octave.m > $*.o.log 2>&1 || \
882
	printf ":test-result: FAIL\n:number-tests: 1\n:number-failed-tests: 1\n:list-of-failed-tests: $*.mod\n:elapsed-time: 0.0\n" > $*.o.trs
883
	@if grep -q ":test-result: PASS" $*.o.trs; then \
884
	echo "`tput bold``tput setaf 2`OCTAVE: $(PWD)/$* PASSED!`tput sgr0`" ; \
885
	else \
886
	echo "`tput bold``tput setaf 1`OCTAVE: $(PWD)/$* FAILED!`tput sgr0`" ; \
887
	fi
Houtan Bastani's avatar
Houtan Bastani committed
888

889 890 891
%.o.drs %.o.log: %.mod %.o.trs
	@cat $*.o.log

Houtan Bastani's avatar
Houtan Bastani committed
892
%.o.trs %.o.log : %.m
Stéphane Adjemian (Hermes)'s avatar
Stéphane Adjemian (Hermes) committed
893
	@echo "`tput bold``tput setaf 8`OCTAVE: $(PWD)/$*... `tput sgr0`"
894
	@DYNARE_VERSION="$(PACKAGE_VERSION)" TOP_TEST_DIR="$(PWD)" \
Houtan Bastani's avatar
Houtan Bastani committed
895
		$(OCTAVE) --no-init-file --silent --no-history $< > $*.o.log 2>&1
Stéphane Adjemian (Hermes)'s avatar
Stéphane Adjemian (Hermes) committed
896
	@echo "`tput bold``tput setaf 8`OCTAVE: $(PWD)/$* Done!`tput sgr0`"
897

898
%.m.tls : %.m
Stéphane Adjemian (Hermes)'s avatar
Stéphane Adjemian (Hermes) committed
899
	@echo "`tput bold``tput setaf 8`MATLAB: $(PWD)/$*... `tput sgr0`"
900 901 902
	@TOP_TEST_DIR="$(PWD)" FILESTEM="$*" \
		$(MATLAB)/bin/matlab -nosplash -nodisplay -r run_m_script 2> /dev/null
	@touch $*.m.tls
Stéphane Adjemian (Hermes)'s avatar
Stéphane Adjemian (Hermes) committed
903
	@echo "`tput bold`MATLAB`tput setaf 8`: $(PWD)/$* Done!`tput sgr0`"
904 905

%.o.tls : %.m
Stéphane Adjemian (Hermes)'s avatar
Stéphane Adjemian (Hermes) committed
906
	@echo "`tput bold``tput setaf 8`OCTAVE: $(PWD)/$*... `tput sgr0`"
907
	@TOP_TEST_DIR="$(PWD)"  FILESTEM="$*" \
908
		$(OCTAVE) --no-init-file --silent --no-history run_o_script.m 2>&1
909
	@touch $*.o.tls
Stéphane Adjemian (Hermes)'s avatar
Stéphane Adjemian (Hermes) committed
910
	@echo "`tput bold``tput setaf 8`OCTAVE: $(PWD)/$* Done!`tput sgr0`"
911

912
clean-local:
913
	rm -f $(M_TRS_FILES) \
914
		$(M_TLS_FILES) \
915 916
		$(M_XFAIL_TRS_FILES) \
		$(O_TRS_FILES) \
917
		$(O_TLS_FILES) \
918 919 920 921
		$(O_XFAIL_TRS_FILES) \
		$(patsubst %.trs, %.log, $(M_TRS_FILES)) \
		$(patsubst %.trs, %.log, $(M_XFAIL_TRS_FILES)) \
		$(patsubst %.trs, %.log, $(O_TRS_FILES)) \
922 923 924 925 926
		$(patsubst %.trs, %.log, $(O_XFAIL_TRS_FILES)) \
		$(patsubst %.trs, %.json, $(M_TRS_FILES)) \
		$(patsubst %.trs, %.json, $(M_XFAIL_TRS_FILES)) \
		$(patsubst %.trs, %.json, $(O_TRS_FILES)) \
		$(patsubst %.trs, %.json, $(O_XFAIL_TRS_FILES))
Houtan Bastani's avatar
Houtan Bastani committed
927

928 929 930
	rm -f $(patsubst %.mod, %.m, $(MODFILES)) \
		$(patsubst %.mod, %_static.*, $(MODFILES)) \
		$(patsubst %.mod, %_objective_static.m, $(MODFILES)) \
931 932
		$(patsubst %.mod, %_set_auxiliary_variables.m, $(MODFILES)) \
		$(patsubst %.mod, %_steadystate2.m, $(MODFILES)) \
933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948
		$(patsubst %.mod, %_dynamic.*, $(MODFILES))

	rm -f $(patsubst %.mod, %_results.mat, $(MODFILES)) \
		$(patsubst %.mod, %_mode.mat, $(MODFILES)) \
		$(patsubst %.mod, %_mh_mode.mat, $(MODFILES)) \
		$(patsubst %.mod, %_mean.mat, $(MODFILES)) \
		$(patsubst %.mod, %_pindx.mat, $(MODFILES)) \
		$(patsubst %.mod, %_params.mat, $(MODFILES)) \
		$(patsubst %.mod, %_simul, $(MODFILES)) \
		$(patsubst %.mod, %.log, $(MODFILES))

	rm -rf $(patsubst %.mod, %, $(MODFILES))

	rm -f $(patsubst %.mod, %*.pdf, $(MODFILES)) \
		$(patsubst %.mod, %*.eps, $(MODFILES)) \
		$(patsubst %.mod, %*.fig, $(MODFILES))
949 950 951 952 953 954

	rm -f $(shell find -name g1.mat) \
		$(shell find -name g2.mat) \
		$(shell find -name g3.mat) \
		$(shell find -name H.dat)

955 956
	rm -f arima/data1.m arima/data2.m \
		k_order_perturbation/*.jnl \
957 958
		k_order_perturbation/*.mat \
		kalman_filter_smoother/data.mat
959

960 961
	rm -f data_ca1_csv.csv

962 963 964
	rm -f estimation/MH_recover/*.mat \
		estimation/MH_recover/*.dat

965
	rm -rf ramsey_objective
966

967 968
	rm -f ep/*.c

969 970
	rm -f fs2000_ssfile_steadystate.m

971
	rm -f $(shell find -name '*~')
972

973
	rm -f dsge-var/datarabanal_hybrid.m
974 975

	rm -rf partial_information/PItest3aHc0PCLsimModPiYrVarobsAll_PCL* partial_information/PItest3aHc0PCLsimModPiYrVarobsCNR_PCL*
976

Sébastien Villemot's avatar
Sébastien Villemot committed
977 978
	rm -rf block_bytecode/ls2003_tmp*

979
	rm -f reporting/report.*
Houtan Bastani's avatar
Houtan Bastani committed
980

Sébastien Villemot's avatar
Sébastien Villemot committed
981 982
	rm -f $(shell find -name wsOct) \
		$(shell find -name wsMat.mat)
983

Sébastien Villemot's avatar
Sébastien Villemot committed
984
	rm -f run_test_matlab_output.txt run_test_octave_output.txt
Houtan Bastani's avatar
Houtan Bastani committed
985 986 987 988 989 990 991 992

	rm -rf ms-sbvar/init_* \
		ms-sbvar/*.out \
		ms-sbvar/*.mat \
		ms-sbvar/*.prn \
		ms-sbvar/*.dat \
		ms-sbvar/tmv_rr_sr \
		ms-sbvar/tmv_rr_tr
993 994

	rm -f estimation/test_matrix.mat
995 996

	rm -f initval_file/ramst_initval_file_data_col_vec_mat.mat initval_file/ramst_initval_file_data_row_vec_mat.mat initval_file/ramst_initval_file_excel.xls
997

998 999
	rm -f loglinear/results_exp_histval.mat loglinear/results_exp.mat

1000 1001 1002 1003
	find . -name "*.tex" -type f -delete
	find . -name "*.aux" -type f -delete
	find . -name "*.log" -type f -delete
	find . -name "*.eps" -type f -delete
1004
	find . -name "*.json" -type f -delete