-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
46 lines (33 loc) · 1.48 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
SOURCES=$(shell find . -type f -iname "*.asm") $(shell find . -type f -iname "*.gph")
BINARY=moon.bin
VERSION=$(shell cat version.def)
LST=main.lst
all:
@echo "For making MB03 version call: 'make mb03'"
@echo "For making MB03 version with 80 col. screen call: 'make mb03-80'"
@echo "For making ZXUno(esxDOS) version call: 'make zxuno'"
@echo "For making ZXUno(esxDOS, usual screen) version call: 'make zxuno-zxscreen'"
@echo "For making Ay-Wifi(esxDOS) version call: make esxdos-ay"
@echo "For making rendering test with timex screen call: make emu-timex"
@echo ""
@echo "Before changing version call: 'make clean' for removing builded images"
mb03: $(SOURCES)
sjasmplus main.asm -DPROXY -DMB03 -DTIMEX -DGS --lst=main.lst -DV=$(VERSION)
mb03-80: $(SOURCES)
sjasmplus main.asm -DPROXY -DMB03 -DTIMEX80 -DGS --lst=main.lst -DV=$(VERSION)
zxuno: $(SOURCES)
sjasmplus main.asm -DUNO -DTIMEX --lst=main.lst -DV=$(VERSION)
zxuno-80: $(SOURCES)
sjasmplus main.asm -DUNO -DTIMEX80 --lst=main.lst -DV=$(VERSION)
zxuno-zxscreen: $(SOURCES)
sjasmplus main.asm -DUNO -DZXSCR --lst=main.lst -DV=$(VERSION)
esxdos-ay: $(SOURCES)
sjasmplus main.asm -DAY -DZXSCR --lst=main.lst -DV=$(VERSION)
emu-timex: $(SOURCES)
sjasmplus main.asm -DEMU -DUNO -DTIMEX --lst=main.lst -DV=$(VERSION)
emu-timex-80: $(SOURCES)
sjasmplus main.asm -DEMU -DUNO -DTIMEX80 --lst=main.lst -DV=$(VERSION)
emu-zx: $(SOURCES)
sjasmplus main.asm -DEMU -DUNO -DZXSCR --lst=main.lst -DV=$(VERSION)
clean:
rm $(BINARY) $(LST)