Skip to content

Commit dc5ecfa

Browse files
authored
Update Makefile
convert spaces to tab-indentation
1 parent 6645fae commit dc5ecfa

File tree

1 file changed

+33
-32
lines changed

1 file changed

+33
-32
lines changed

src/Makefile

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
# See https://stackoverflow.com/questions/714100/os-detecting-makefile
22

33
SRC = mp.pas \
4-
Common.pas \
5-
Diagnostic.pas \
6-
FileIO.pas \
7-
MathEvaluate.pas \
8-
Messages.pas \
9-
Numbers.pas \
10-
Optimize.pas \
11-
Parser.pas \
12-
Scanner.pas \
13-
StringUtilities.pas \
14-
TestUnits.pas \
15-
Utilities.pas \
16-
include/*.inc \
17-
include/opt6502/*.inc \
18-
include/opt65c02/*.inc \
19-
targets/*.inc
4+
Common.pas \
5+
Diagnostic.pas \
6+
FileIO.pas \
7+
MathEvaluate.pas \
8+
Messages.pas \
9+
Numbers.pas \
10+
Optimize.pas \
11+
Parser.pas \
12+
Scanner.pas \
13+
StringUtilities.pas \
14+
TestUnits.pas \
15+
Utilities.pas \
16+
include/*.inc \
17+
include/opt6502/*.inc \
18+
include/opt65c02/*.inc \
19+
targets/*.inc
2020

2121
BINBASEDIR = ../bin
2222
ifeq ($(OS),Windows_NT)
23-
BINDIR = $(BINBASEDIR)/windows_x86_64
24-
BIN = $(BINDIR)/mp.exe
23+
BINDIR = $(BINBASEDIR)/windows_x86_64
24+
BIN = $(BINDIR)/mp.exe
2525
else
26-
UNAME_S := $(shell uname -s)
27-
UNAME_P := $(shell uname -p)
28-
ifeq ($(UNAME_S),Linux)
29-
# TODO
26+
UNAME_S := $(shell uname -s)
27+
UNAME_P := $(shell uname -p)
28+
ifeq ($(UNAME_S),Linux)
29+
# TODO
3030
# BINDIR = $(BINBASEDIR)/linux_$(UNAME_P)
3131
BIN = $(BINDIR)/mp
32-
endif
33-
ifeq ($(UNAME_S),Darwin)
34-
ifneq ($(filter arm%,$(UNAME_P)),)
35-
BINDIR = $(BINBASEDIR)/macosx_aarch64
36-
endif
37-
ifeq ($(UNAME_P),x86_64)
38-
BINDIR = $(BINBASEDIR)/macosx_x86_64
39-
endif
40-
BIN = $(BINDIR)/mp
41-
endif
32+
endif
33+
ifeq ($(UNAME_S),Darwin)A
34+
ifneq ($(filter arm%,$(UNAME_P)),)
35+
BINDIR = $(BINBASEDIR)/macosx_aarch64
36+
endif
37+
ifeq ($(UNAME_P),x86_64)
38+
BINDIR = $(BINBASEDIR)/macosx_x86_64
39+
endif
40+
BIN = $(BINDIR)/mp
41+
endif
4242
endif
4343

4444
$(BIN): $(SRC)
@@ -50,3 +50,4 @@ clean:
5050
rm -fv *.o *.ppu $(BIN) $(BINDIR)/*.o $(BINDIR)/*.ppu
5151

5252
.PHONY: clean
53+

0 commit comments

Comments
 (0)