projects
/
z80comp2
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
- reorganized project directory structure
[z80comp2]
/
rom
/
Makefile
1
src = monitor.asm
2
obj = $(src:.asm=.o)
3
bin = monitor
4
5
romtype = 'AT28C256'
6
romsize = 2048
7
8
AS = vasmz80_oldstyle
9
ASFLAGS = -Fvobj
10
LD = vlink
11
LDFLAGS = -b rawbin1
12
13
$(bin): $(obj)
14
$(LD) -o $@ $(LDFLAGS) -Ttext 0 $(obj)
15
16
%.o: %.asm
17
$(AS) -o $@ $(ASFLAGS) -L $*.lst $< >/dev/null
18
19
.PHONY: clean
20
clean:
21
rm -f $(bin) $(obj)
22
23
.PHONY: program
24
program: $(bin)
25
minipro -p 'AT28C256E' -s -w $<