Debian Codegraph @

windows/Makefile

raw
1 # Copyright © 2017-2025 Dynare Team
2 #
3 # This file is part of Dynare.
4 #
5 # Dynare is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # Dynare is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with Dynare. If not, see <https://www.gnu.org/licenses/>.
17
18 .PHONY: build deps clean-deps clean-all-deps clean-pkgs clean clean-all install
19
20 NTHREADS=$(shell nproc)
21
22 build: deps
23 ./build.sh
24
25 deps:
26 make -C deps -j$(NTHREADS)
27
28 clean-deps:
29 make -C deps clean
30
31 clean-all-deps:
32 make -C deps clean-all
33
34 clean-pkgs:
35 rm -rf exe/ 7z/
36
37 # Clean everything except downloaded tarballs of dependencies
38 clean: clean-pkgs clean-deps
39
40 # Clean everything (including downloaded tarballs of dependencies)
41 clean-all: clean-pkgs clean-all-deps
42
43 install:
44 ./install-packages.sh