mirror of
https://github.com/yarrick/iodine.git
synced 2025-04-03 13:23:35 +03:00
allow to override Makefile TARGETOS variable
Overriding TARGETOS is useful for cross-compiling if build OS and target OS are different (e.g. build on MacOS for Linux) Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
This commit is contained in:
parent
1df7d235f5
commit
43b14b0946
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -15,7 +15,7 @@ MKDIR_FLAGS=-p
|
|||
RM=rm
|
||||
RM_FLAGS=-f
|
||||
|
||||
TARGETOS = `uname`
|
||||
TARGETOS ?= `uname`
|
||||
|
||||
all:
|
||||
@$(MAKE) -C src TARGETOS=$(TARGETOS) all
|
||||
|
|
Loading…
Add table
Reference in a new issue