Rebuild every target if Makefile changes

This commit is contained in:
James Darpinian 2024-06-07 08:27:44 -07:00 committed by Zack Middleton
parent 37d78b6279
commit e247b316a7
1 changed files with 4 additions and 0 deletions

View File

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