-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
32 lines (25 loc) · 1.41 KB
/
Makefile
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
29
30
31
32
clean:
rm -f *.sym
rm -f *.prg
rm -f ByteDump.txt
build: clean build_full build_min build_memory build_sprites build_timers
build_min:
@echo Building minimum library
@docker run -v ${PWD}:/code barrywalker71/kickassembler:latest -time -bytedump /code/include_me_min.asm
build_full:
@echo Building full library
@docker run -v ${PWD}:/code barrywalker71/kickassembler:latest -define MEMORY -define SPRITES -define TIMERS -time -bytedump /code/include_me_full.asm
@docker run -v ${PWD}:/code barrywalker71/kickassembler:latest -define MEMORY -define SPRITES -define TIMERS -time -bytedump /code/include_me_full_r.asm
build_sprites:
@echo Building sprite library
@docker run -v ${PWD}:/code barrywalker71/kickassembler:latest -define SPRITES -time -symbolfile -bytedump /code/include_me_sprites.asm
@docker run -v ${PWD}:/code barrywalker71/kickassembler:latest -define SPRITES -time -symbolfile -bytedump /code/include_me_sprites_r.asm
build_memory:
@echo Building memory library
@docker run -v ${PWD}:/code barrywalker71/kickassembler:latest -define MEMORY -time -bytedump /code/include_me_memory.asm
build_timers:
@echo Building timer library
@docker run -v ${PWD}:/code barrywalker71/kickassembler:latest -define TIMERS -define MEMORY -time -bytedump /code/include_me_timers.asm
test: build
@docker pull barrywalker71/sim6502cli:latest
@docker run -v ${PWD}:/code -it barrywalker71/sim6502cli:latest -s /code/tests.6502 -t