mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 05:55:46 +01:00
rename ARCH options to x86, rather than x86_64, since that's more accurate now
This commit is contained in:
6
makefile
6
makefile
@@ -26,15 +26,15 @@ PROF := rel
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),clean)
|
ifneq ($(MAKECMDGOALS),clean)
|
||||||
ifeq ($(ARCH),linux-x86_64)
|
ifeq ($(ARCH),linux-x86)
|
||||||
CFLAGS += -target x86_64-pc-linux-gnu
|
CFLAGS += -target x86_64-pc-linux-gnu
|
||||||
LDFLAGS += -target x86_64-pc-linux-gnu
|
LDFLAGS += -target x86_64-pc-linux-gnu
|
||||||
else ifeq ($(ARCH),win-x86_64)
|
else ifeq ($(ARCH),win-x86)
|
||||||
CFLAGS += -target x86_64-pc-windows-gnu
|
CFLAGS += -target x86_64-pc-windows-gnu
|
||||||
LDFLAGS += -target x86_64-pc-windows-gnu -fuse-ld=lld
|
LDFLAGS += -target x86_64-pc-windows-gnu -fuse-ld=lld
|
||||||
EXT := .exe
|
EXT := .exe
|
||||||
else
|
else
|
||||||
$(error you must set the ARCH environment variable to one of these: 'linux-x86_64' 'win-x86_64')
|
$(error you must set the ARCH environment variable to one of these: 'linux-x86' 'win-x86')
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user