From 7486a4834e60d576c481f5dfb62c222d6d60c91d Mon Sep 17 00:00:00 2001 From: David Betz Date: Fri, 3 Apr 2015 09:52:43 -0400 Subject: [PATCH] Turns out that ?= is not needed to allow variables to be overridden from the make command line. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 31c8a11..260a9b5 100644 --- a/Makefile +++ b/Makefile @@ -6,17 +6,17 @@ ifeq ($(CROSS),win32) CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ EXT=.exe - BUILD?=./build-win32 + BUILD=./build-win32 else ifeq ($(CROSS),rpi) CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ EXT= - BUILD?=./build-rpi + BUILD=./build-rpi else CC=gcc CXX=g++ EXT= - BUILD?=./build + BUILD=./build endif TARGET = $(BUILD)/spinsim$(EXT)