File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,21 +23,21 @@ ifeq ($(OS),Windows_NT)
2323 BINDIR = $(BINBASEDIR)/windows_x86_64
2424 BIN = $(BINDIR)/mp.exe
2525else
26- UNAME_S := $(shell uname -s)
27- UNAME_P := $(shell uname -p)
28- ifeq ($(UNAME_S),Linux)
26+ UNAME_S := $(shell uname -s)
27+ UNAME_P := $(shell uname -p)
28+ ifeq ($(UNAME_S),Linux)
2929 BINDIR = $(BINBASEDIR)/linux_$(UNAME_P)
3030 BIN = $(BINDIR)/mp
31- endif
32- ifeq ($(UNAME_S),Darwin)
31+ endif
32+ ifeq ($(UNAME_S),Darwin)
3333 ifneq ($(filter arm%,$(UNAME_P)),)
34- BINDIR = $(BINBASEDIR)/macosx_aarch64
35- endif
36- ifeq ($(UNAME_P),x86_64)
37- BINDIR = $(BINBASEDIR)/macosx_x86_64
38- endif
39- BIN = $(BINDIR)/mp
34+ BINDIR = $(BINBASEDIR)/macosx_aarch64
4035 endif
36+ ifeq ($(UNAME_P),x86_64)
37+ BINDIR = $(BINBASEDIR)/macosx_x86_64
38+ endif
39+ BIN = $(BINDIR)/mp
40+ endif
4141endif
4242
4343$(BIN ) : $(SRC )
4949 rm -fv * .o * .ppu $(BIN ) $(BINDIR ) /* .o $(BINDIR ) /* .ppu
5050
5151.PHONY : clean
52-
You can’t perform that action at this time.
0 commit comments