Turns out that ?= is not needed to allow variables to be overridden from the make command line.

This commit is contained in:
David Betz 2015-04-03 09:52:43 -04:00
parent b377e4c8c1
commit 7486a4834e
1 changed files with 3 additions and 3 deletions

View File

@ -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)