mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Rebuild every target if Makefile changes
This commit is contained in:
parent
37d78b6279
commit
e247b316a7
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -3,6 +3,10 @@
|
||||||
#
|
#
|
||||||
# GNU Make required
|
# 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_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/')
|
COMPILE_ARCH=$(shell uname -m | sed -e 's/i.86/x86/' | sed -e 's/^arm.*/arm/')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue