diff --git a/Makefile b/Makefile index 0bc9522b..ae7549fa 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,10 @@ # # GNU Make required # + +# Rebuild every target if Makefile changes +.EXTRA_PREREQS:= $(abspath $(lastword $(MAKEFILE_LIST))) + COMPILE_PLATFORM=$(shell uname | sed -e 's/_.*//' | tr '[:upper:]' '[:lower:]' | sed -e 's/\//_/g') COMPILE_ARCH=$(shell uname -m | sed -e 's/i.86/x86/' | sed -e 's/^arm.*/arm/')