mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-22 11:52:04 +00:00
Simplify the test whether the architecture is supported.
This commit is contained in:
parent
2867c00d61
commit
3c7539b417
1 changed files with 1 additions and 5 deletions
6
Makefile
6
Makefile
|
@ -65,13 +65,9 @@ ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/amd64/x86_64/)
|
||||||
|
|
||||||
# Refuse all other platforms as a firewall against PEBKAC
|
# Refuse all other platforms as a firewall against PEBKAC
|
||||||
# (You'll need some #ifdef for your unsupported plattform!)
|
# (You'll need some #ifdef for your unsupported plattform!)
|
||||||
ifneq ($(ARCH),i386)
|
ifeq ($(findstring $(ARCH), i386 x86_64 sparc64),)
|
||||||
ifneq ($(ARCH),x86_64)
|
|
||||||
ifneq ($(ARCH),sparc64)
|
|
||||||
$(error arch $(ARCH) is currently not supported)
|
$(error arch $(ARCH) is currently not supported)
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
# ----------
|
# ----------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue