Makefile.am 15.3 KB
Newer Older
1
MODFILES = \
Houtan Bastani's avatar
Houtan Bastani committed
2
3
4
5
6
	estimation/fs2000_mc4.mod \
	estimation/fs2000_mc4_mf.mod \
	estimation/fs2000_mc6.mod \
	estimation/fs2000_mc6_mf.mod \
	gsa/ls2003.mod \
7
8
	ramst.mod \
	ramst_a.mod \
9
	ramst_static_tag.mod \
10
11
12
13
	example1.mod \
	example2.mod \
	example1_use_dll.mod \
	example1_with_tags.mod \
Houtan Bastani's avatar
Houtan Bastani committed
14
	example1_irf_shocks.mod \
Houtan Bastani's avatar
Houtan Bastani committed
15
	example1_abs_sign.mod \
16
	example1_macroif.mod \
17
18
19
	t_sgu_ex1.mod \
	osr_example.mod \
	optimal_policy/ramsey.mod \
20
	optimal_policy/nk_ramsey.mod \
21
22
	optimal_policy/nk_ramsey_expectation.mod \
	optimal_policy/nk_ramsey_expectation_a.mod \
23
24
25
26
	optimal_policy/mult_elimination_test.mod \
	discretionary_policy/dennis_1.mod \
	ramst_initval_file.mod \
	ramst_normcdf_and_friends.mod \
MichelJuillard's avatar
MichelJuillard committed
27
	ramst_vec.mod \
28
29
30
31
32
33
34
	example1_varexo_det.mod \
	predetermined_variables.mod \
	fs2000_nonstationary.mod \
	fs2000_ssfile.mod \
	comments.mod \
	histval_sto.mod \
	histval_det.mod \
35
	auxiliary_variables/test1.mod \
36
	expectations/expectation.mod \
37
38
	expectations/expectation_ss.mod \
	expectations/expectation_ss_old.mod \
39
	expectations/expectation_nested.mod \
40
41
42
43
	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
44
	steady_state/multi_leads.mod \
45
46
47
48
49
50
51
52
53
54
55
56
57
	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 \
58
	k_order_perturbation/fs2000k3_p.mod \
59
60
61
62
63
64
65
66
67
68
	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 \
69
	data/mod1a.mod \
70
71
72
	fs2000/fs2000.mod \
	fs2000/fs2000a.mod \
	fs2000/fs2000c.mod \
73
	fs2000/fs2000d.mod \
Sébastien Villemot's avatar
Sébastien Villemot committed
74
	fs2000/fs2000_cmaes.mod \
Sébastien Villemot's avatar
Sébastien Villemot committed
75
	fs2000/fs2000_calib.mod \
76
	fs2000/fs2000_analytic_derivation.mod \
77
	fs2000/fs2000_missing_data.mod \
Houtan Bastani's avatar
Houtan Bastani committed
78
	fs2000/fs2000_sd.mod \
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
	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 \
	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 \
	external_function/example1_no_deriv_functions_provided_dll.mod \
	seeds.mod \
105
106
	identification/kim/kim2.mod \
	identification/as2007/as2007.mod \
Houtan Bastani's avatar
Houtan Bastani committed
107
	simul/example1.mod \
108
109
	conditional_forecasts/fs2000_cal.mod \
	conditional_forecasts/fs2000_est.mod \
110
111
	recursive/ls2003.mod \
	recursive/ls2003_bayesian.mod \
Houtan Bastani's avatar
Houtan Bastani committed
112
113
114
115
116
117
118
	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 \
119
	ms-sbvar/test_ms_variances.mod \
MichelJuillard's avatar
MichelJuillard committed
120
	ms-sbvar/test_ms_variances_repeated_runs.mod \
Michel Juillard's avatar
Michel Juillard committed
121
	kalman_filter_smoother/gen_data.mod \
MichelJuillard's avatar
MichelJuillard committed
122
123
124
125
126
127
128
129
130
131
132
133
	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
134
135
136
	kalman_filter_smoother/fs2000a.mod \
	second_order/burnside_1.mod \
	second_order/ds1.mod \
137
	second_order/ds2.mod \
138
	ep/rbc.mod \
139
	ep/rbc2.mod \
140
	ep/rbcii.mod \
141
142
	ep/linear.mod \
	deterministic_simulations/deterministic_model_purely_forward.mod \
143
	deterministic_simulations/deterministic_model_purely_backward.mod \
144
145
146
147
	deterministic_simulations/rbc_det1.mod \
	deterministic_simulations/rbc_det2.mod \
	deterministic_simulations/rbc_det3.mod \
	deterministic_simulations/rbc_det4.mod \
148
	deterministic_simulations/rbc_det5.mod \
149
	walsh.mod \
150
151
	measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME.mod \
	trend_var/fs2000_nonstationary.mod \
152
	trend_var/fs2000_log_nonstationary.mod \
153
	third_order/FV2011.mod \
154
155
156
	shock_decomposition/example1_calib_shock_decomp.mod \
	shock_decomposition/fs2000_est.mod \
	shock_decomposition/fs2000_est_varlist.mod \
Houtan Bastani's avatar
Houtan Bastani committed
157
158
	stochastic_purely_forward/stochastic_purely_forward.mod \
	stochastic_purely_forward/stochastic_purely_forward_with_static.mod
Houtan Bastani's avatar
Houtan Bastani committed
159

160
XFAIL_MODFILES = ramst_xfail.mod
161

Houtan Bastani's avatar
Houtan Bastani committed
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
# Dependencies
example1_use_dll.m.trs: example1.m.trs
example1_use_dll.o.trs: example1.o.trs

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

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

Houtan Bastani's avatar
Houtan Bastani committed
205
206
207
208
209
estimation/fs2000_mc4_mf.m.trs: estimation/fs2000_mc4.m.trs
estimation/fs2000_mc6_mf.m.trs: estimation/fs2000_mc6.m.trs
estimation/fs2000_mc4_mf.o.trs: estimation/fs2000_mc4.o.trs
estimation/fs2000_mc6_mf.o.trs: estimation/fs2000_mc6.o.trs

210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
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

Houtan Bastani's avatar
Houtan Bastani committed
228
# Matlab TRS Files
229
M_TRS_FILES = $(patsubst %.mod, %.m.trs, $(MODFILES))
Houtan Bastani's avatar
Houtan Bastani committed
230
M_TRS_FILES += run_block_byte_tests_matlab.m.trs run_reporting_test_matlab.m.trs
231
M_XFAIL_TRS_FILES = $(patsubst %.mod, %.m.trs, $(XFAIL_MODFILES))
Houtan Bastani's avatar
Houtan Bastani committed
232
233

# Octave TRS Files
234
O_TRS_FILES = $(patsubst %.mod, %.o.trs, $(MODFILES))
Houtan Bastani's avatar
Houtan Bastani committed
235
O_TRS_FILES += run_block_byte_tests_octave.o.trs run_reporting_test_octave.o.trs
236
O_XFAIL_TRS_FILES = $(patsubst %.mod, %.o.trs, $(XFAIL_MODFILES))
Houtan Bastani's avatar
Houtan Bastani committed
237

238
EXTRA_DIST = \
Houtan Bastani's avatar
Houtan Bastani committed
239
240
241
	read_trs_files.sh \
	run_test_matlab.m \
	run_test_octave.m \
242
	$(MODFILES) \
243
	$(XFAIL_MODFILES) \
Houtan Bastani's avatar
Houtan Bastani committed
244
245
	run_block_byte_tests_matlab.m \
	run_block_byte_tests_octave.m \
Houtan Bastani's avatar
Houtan Bastani committed
246
247
	run_reporting_test_matlab.m \
	run_reporting_test_octave.m \
Houtan Bastani's avatar
Houtan Bastani committed
248
249
250
251
252
253
254
255
256
257
	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 \
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
	homotopy/common.mod \
	block_bytecode/ls2003.mod \
	fs2000_ssfile_aux.m \
	printMakeCheckMatlabErrMsg.m \
	printMakeCheckOctaveErrMsg.m \
	ramst_initval_file_data.m \
	test.m \
	AIM/data_ca1.m \
	AIM/fs2000_b1L1L_AIM_steadystate.m \
	AIM/fs2000_b1L1L_steadystate.m \
	AIM/fsdat.m \
	block_bytecode/run_ls2003.m \
	bvar_a_la_sims/bvar_sample.m \
	external_function/extFunDeriv.m \
	external_function/extFunNoDerivs.m \
	external_function/extFunWithFirstAndSecondDerivs.m \
274
275
	expectations/expectation_ss_old_steadystate.m \
	steady_state/walsh1_old_ss_steadystate.m \
276
	data/test.xls \
277
278
279
280
281
	fs2000/fs2000a_steadystate.m \
	fs2000/fsdat_simul.m \
	k_order_perturbation/run_fs2000kplusplus.m \
	ls2003/data_ca1.m \
	measurement_errors/data_ca1.m \
282
283
	measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME_steadystate.m \
	measurement_errors/fs2000_corr_me_ml_mcmc/fsdat_simul.m \
284
	missing/simulate_data_with_missing_observations.m \
Houtan Bastani's avatar
Houtan Bastani committed
285
	objectives/sgu_ex1.mat \
286
287
288
	conditional_forecasts/fsdat_simul.m \
	ms-sbvar/data.m \
	ms-sbvar/archive-files/ftd_2s_caseall_upperchol3v.m \
Sébastien Villemot's avatar
Sébastien Villemot committed
289
	ms-sbvar/archive-files/ftd_2s_caseall_upperchol4v.m \
290
291
292
293
294
295
296
297
298
299
300
301
	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 \
302
	ms-sbvar/archive-files/specification_2v2c.dat \
MichelJuillard's avatar
MichelJuillard committed
303
	recursive/data_ca1.m \
MichelJuillard's avatar
MichelJuillard committed
304
	kalman_filter_smoother/fsdat_simul.m \
305
	kalman_filter_smoother/fs2000a_steadystate.m \
306
	identification/kim/kim2_steadystate.m \
307
	estimation/fsdat_simul.m \
308
309
	ep/mean_preserving_spread.m \
	third_order/comparison_policy_functions_dynare_mathematica.m \
310
	third_order/policyfunctions.mat \
311
312
	shock_decomposition/example1_calib_shock_decomp_data.mat \
	shock_decomposition/fsdat_simul.m
313

314
TARGETS =
315
316
317
318
319
320
321
322
323
324

if HAVE_CMD_LINE_MATLAB
TARGETS += check-matlab
endif

if HAVE_OCTAVE
TARGETS += check-octave
endif

check-local: $(TARGETS)
Houtan Bastani's avatar
Houtan Bastani committed
325
326
327
	@cat run_test_matlab_output.txt
	@cat run_test_octave_output.txt

328
check-matlab: $(M_XFAIL_TRS_FILES) $(M_TRS_FILES)
329
	./read_trs_files.sh "$(M_TRS_FILES)" "$(M_XFAIL_TRS_FILES)"
Houtan Bastani's avatar
Houtan Bastani committed
330
331
	@echo 'Matlab Tests Done'

332
check-octave: $(O_XFAIL_TRS_FILES) $(O_TRS_FILES)
333
	./read_trs_files.sh "$(O_TRS_FILES)" "$(O_XFAIL_TRS_FILES)"
Houtan Bastani's avatar
Houtan Bastani committed
334
	@echo 'Octave Tests Done'
335

Houtan Bastani's avatar
Houtan Bastani committed
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
%.m.trs %.m.log: %.mod
	DYNARE_VERSION="$(PACKAGE_VERSION)" TOP_TEST_DIR="$(PWD)" FILESTEM="$*" \
		$(MATLAB)/bin/matlab -nosplash -nodisplay -logfile $*.m.log -r run_test_matlab

%.m.trs %.m.log : %.m
	DYNARE_VERSION="$(PACKAGE_VERSION)" TOP_TEST_DIR="$(PWD)" \
		$(MATLAB)/bin/matlab -nosplash -nodisplay -logfile $*.m.log -r $*

%.o.trs %.o.log: %.mod
	DYNARE_VERSION="$(PACKAGE_VERSION)" TOP_TEST_DIR="$(PWD)" FILESTEM="$*" \
		$(OCTAVE) --no-init-file --silent --no-history run_test_octave.m > $*.o.log 2>&1

%.o.trs %.o.log : %.m
	DYNARE_VERSION="$(PACKAGE_VERSION)" TOP_TEST_DIR="$(PWD)" \
		$(OCTAVE) --no-init-file --silent --no-history $< > $*.o.log 2>&1
351

352
clean-local:
353
354
355
356
357
358
359
360
	rm -f $(M_TRS_FILES) \
		$(M_XFAIL_TRS_FILES) \
		$(O_TRS_FILES) \
		$(O_XFAIL_TRS_FILES) \
		$(patsubst %.trs, %.log, $(M_TRS_FILES)) \
		$(patsubst %.trs, %.log, $(M_XFAIL_TRS_FILES)) \
		$(patsubst %.trs, %.log, $(O_TRS_FILES)) \
		$(patsubst %.trs, %.log, $(O_XFAIL_TRS_FILES))
Houtan Bastani's avatar
Houtan Bastani committed
361

362
363
364
	rm -f $(patsubst %.mod, %.m, $(MODFILES)) \
		$(patsubst %.mod, %_static.*, $(MODFILES)) \
		$(patsubst %.mod, %_objective_static.m, $(MODFILES)) \
365
366
		$(patsubst %.mod, %_set_auxiliary_variables.m, $(MODFILES)) \
		$(patsubst %.mod, %_steadystate2.m, $(MODFILES)) \
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
		$(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))
383
384
385
386
387
388

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

389
390
	rm -f arima/data1.m arima/data2.m \
		k_order_perturbation/*.jnl \
391
392
		k_order_perturbation/*.mat \
		kalman_filter_smoother/data.mat
393
394

	rm -rf ramsey_objective
395

396
397
	rm -f fs2000_ssfile_steadystate.m

398
	rm -f $(shell find -name '*~')
399

400
	rm -f dsge-var/datarabanal_hybrid.m
401
402

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

Sébastien Villemot's avatar
Sébastien Villemot committed
404
405
	rm -rf block_bytecode/ls2003_tmp*

406
	rm -f reporting/report.*
Houtan Bastani's avatar
Houtan Bastani committed
407

Sébastien Villemot's avatar
Sébastien Villemot committed
408
409
	rm -f $(shell find -name wsOct) \
		$(shell find -name wsMat.mat)
410

Sébastien Villemot's avatar
Sébastien Villemot committed
411
	rm -f run_test_matlab_output.txt run_test_octave_output.txt
Houtan Bastani's avatar
Houtan Bastani committed
412
413
414
415
416
417
418
419

	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