-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved build process to enable more options to be specified
- Loading branch information
Showing
1 changed file
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,23 @@ | ||
BEEBASM?=beebasm | ||
PYTHON?=python | ||
|
||
.PHONY:build | ||
build: | ||
# A make command with no arguments will build Aviator with crc32 | ||
# verification of the game binaries | ||
# | ||
# Optional arguments for the make command are: | ||
# | ||
# verify=no Disable crc32 verification of the game binaries | ||
# | ||
# So, for example: | ||
# | ||
# make verify=no | ||
# | ||
# will build Aviator with no crc32 verification | ||
|
||
.PHONY:all | ||
all: | ||
$(BEEBASM) -i 1-source-files/main-sources/aviator-source.asm -v > 3-assembled-output/compile.txt | ||
$(BEEBASM) -i 1-source-files/main-sources/aviator-disc.asm -do 5-compiled-game-discs/aviator-bbcmicro-co-uk.ssd -opt 3 -title "Aviator" | ||
|
||
.PHONY:verify | ||
verify: | ||
ifneq ($(verify), no) | ||
@$(PYTHON) 2-build-files/crc32.py 4-reference-binaries/bbcmicro-co-uk 3-assembled-output | ||
endif |