Fix Makefile's BUILDDIR definition

This commit is contained in:
2021-12-30 16:49:38 +01:00
parent 97b0739ecb
commit f502d332bc

View File

@@ -3,10 +3,10 @@
IsMinGW := $(findstring MSYS,$(shell uname -s))$(findstring MINGW,$(shell uname -s))
ifneq (,$(IsMinGW))
RES_APP := filesync.exe
BUILDDIR := build-$(shell gcc -v 2>&1 | grep "Target:" | cut --delimiter=' ' --fields=2)
BUILDDIR := build-$(shell gcc -dumpmachine)
else
RES_APP := filesync
BUILDDIR := build-$(shell gcc -v 2>&1 | grep "Target:" | cut --delimiter=' ' --fields=2)
BUILDDIR := build-$(shell gcc -dumpmachine)
endif
VERBOSE_BUILD=false