-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (25 loc) · 949 Bytes
/
Makefile
File metadata and controls
28 lines (25 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
BEEBASM?=beebasm
PYTHON?=python
# 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"
ifneq ($(verify), no)
@$(PYTHON) 2-build-files/crc32.py 4-reference-binaries/bbcmicro-co-uk 3-assembled-output
endif
.PHONY:b2
b2:
curl -G "http://localhost:48075/reset/b2"
curl -H "Content-Type:application/binary" --upload-file "5-compiled-game-discs/aviator-bbcmicro-co-uk.ssd" "http://localhost:48075/run/b2?name=aviator-bbcmicro-co-uk.ssd"