mirror of
https://github.com/false-schemers/skint.git
synced 2024-11-16 07:47:54 +01:00
Update Makefile
This commit is contained in:
parent
d18b4f78bc
commit
e0ea89d06f
1 changed files with 7 additions and 4 deletions
11
Makefile
11
Makefile
|
@ -25,14 +25,17 @@ ifeq ($(OS),Windows_NT)
|
|||
endif
|
||||
endif
|
||||
else
|
||||
UNAME_P := $(shell uname -p)
|
||||
ifeq ($(UNAME_P),x86_64)
|
||||
UNAME := $(shell uname -p)
|
||||
ifeq ($(UNAME),unknown)
|
||||
UNAME := $(shell uname -m)
|
||||
endif
|
||||
ifeq ($(UNAME),x86_64)
|
||||
ARCH = AMD64
|
||||
endif
|
||||
ifneq ($(filter %86,$(UNAME_P)),)
|
||||
ifneq ($(filter %86,$(UNAME)),)
|
||||
ARCH = IA32
|
||||
endif
|
||||
ifneq ($(filter arm%,$(UNAME_P)),)
|
||||
ifneq ($(filter arm%,$(UNAME)),)
|
||||
ARCH = ARM
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue