Skip to content

Commit 68cb910

Browse files
committedOct 24, 2024
Remove / from folder name in Makefile to make it easier to support builds on Windows
1 parent 9c82397 commit 68cb910

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed
 

‎Makefile

+15-15
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,26 @@ PYTHON?=python
2222
# will build the Revs+ variant with no crc32 verification
2323

2424
ifeq ($(variant), superior)
25-
variant-revs=2
26-
folder-revs=/superior
27-
suffix-revs=-superior
25+
variant=2
26+
folder=superior
27+
suffix=-superior
2828
else ifeq ($(variant), 4tracks)
29-
variant-revs=3
30-
folder-revs=/4tracks
31-
suffix-revs=-4tracks
29+
variant=3
30+
folder=4tracks
31+
suffix=-4tracks
3232
else ifeq ($(variant), revsplus)
33-
variant-revs=4
34-
folder-revs=/revsplus
35-
suffix-revs=-plus
33+
variant=4
34+
folder=revsplus
35+
suffix=-plus
3636
else
37-
variant-revs=1
38-
folder-revs=/acornsoft
39-
suffix-revs=-acornsoft
37+
variant=1
38+
folder=acornsoft
39+
suffix=-acornsoft
4040
endif
4141

4242
.PHONY:all
4343
all:
44-
echo _VARIANT=$(variant-revs) > 1-source-files/main-sources/revs-build-options.asm
44+
echo _VARIANT=$(variant) > 1-source-files/main-sources/revs-build-options.asm
4545
$(BEEBASM) -i 1-source-files/main-sources/revs-silverstone.asm -v > 3-assembled-output/compile.txt
4646
$(BEEBASM) -i 1-source-files/main-sources/revs-brandshatch.asm -v >> 3-assembled-output/compile.txt
4747
$(BEEBASM) -i 1-source-files/main-sources/revs-doningtonpark.asm -v >> 3-assembled-output/compile.txt
@@ -51,7 +51,7 @@ all:
5151
$(BEEBASM) -i 1-source-files/main-sources/revs-loader.asm -v >> 3-assembled-output/compile.txt
5252
$(BEEBASM) -i 1-source-files/main-sources/revs-source.asm -v >> 3-assembled-output/compile.txt
5353
$(PYTHON) 2-build-files/revs-checksum.py
54-
$(BEEBASM) -i 1-source-files/main-sources/revs-disc.asm -do 5-compiled-game-discs/revs$(suffix-revs).ssd -opt 3 -title "CAR"
54+
$(BEEBASM) -i 1-source-files/main-sources/revs-disc.asm -do 5-compiled-game-discs/revs$(suffix).ssd -opt 3 -title "CAR"
5555
ifneq ($(verify), no)
56-
@$(PYTHON) 2-build-files/crc32.py 4-reference-binaries$(folder-revs) 3-assembled-output
56+
@$(PYTHON) 2-build-files/crc32.py 4-reference-binaries/$(folder) 3-assembled-output
5757
endif

0 commit comments

Comments
 (0)
Please sign in to comment.