Add more targets
.. these new h/l hex files are for flashing, wooo!
This commit is contained in:
parent
00f5c74606
commit
684fffe69c
1 changed files with 13 additions and 1 deletions
|
|
@ -1,10 +1,22 @@
|
|||
.PHONY: default
|
||||
defaut: xrxp_f000.hex xrxp.com
|
||||
defaut: xrxp_f000.hex xrxp.com xrxpl.hex xrxph.hex
|
||||
|
||||
xrxp.hex: xrxp.mac xrxpdef.mac
|
||||
../../bin/zmac --oo hex,lst $<
|
||||
cp zout/$@ $@
|
||||
|
||||
xrxpl.bin: xrxp.bin
|
||||
dd bs=2048 count=1 if=$< of=$@
|
||||
|
||||
xrxph.bin: xrxp.bin
|
||||
dd bs=2048 count=1 if=$< of=$@ seek=1
|
||||
|
||||
xrxpl.hex: xrxpl.bin
|
||||
objcopy -I binary -O ihex $< $@
|
||||
|
||||
xrxph.hex: xrxph.bin
|
||||
objcopy -I binary -O ihex $< $@
|
||||
|
||||
xrxp_com.hex: xrxp.mac xrxpdef.mac
|
||||
../../bin/zmac --oo hex,lst --od zcom -DAS_COM $<
|
||||
cp zcom/xrxp.hex $@
|
||||
|
|
|
|||
Loading…
Reference in a new issue