From b43f9af7d17dd2f2fc6ce812e23f195b7ffce7df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Tue, 22 Mar 2022 12:11:44 +0100
Subject: [PATCH] Windows package: minor build system simplification
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The “all” rule being equivalent to the “build” rule, juste delete the former
and move the latter upwards.
---
 windows/Makefile | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/windows/Makefile b/windows/Makefile
index 8b0ba1abb6..a982368b50 100644
--- a/windows/Makefile
+++ b/windows/Makefile
@@ -1,4 +1,4 @@
-# Copyright © 2017-2019 Dynare Team
+# Copyright © 2017-2022 Dynare Team
 #
 # This file is part of Dynare.
 #
@@ -15,11 +15,12 @@
 # You should have received a copy of the GNU General Public License
 # along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
 
-.PHONY: all deps clean-deps clean clean-all install build
+.PHONY: build deps clean-deps clean clean-all install
 
 NTHREADS=$(shell nproc)
 
-all: build
+build: deps
+	./build.sh
 
 deps:
 	make -C deps -j$(NTHREADS)
@@ -34,6 +35,3 @@ clean-all: clean-deps clean
 
 install:
 	./install-packages.sh
-
-build: deps
-	./build.sh
-- 
GitLab