mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 14:11:48 -06:00
Jörg Linder has disassembled and thoroughly commented a great deal of the BPBIOS binaries. This was an incredible amount of work. I have added all of these to the RomWBW build scripts and will ultimately integrate them more completely.
41 lines
921 B
Makefile
41 lines
921 B
Makefile
VERSIONS = \
|
|
33 33bnk \
|
|
33 33bnk \
|
|
34 34bnk \
|
|
34 34bnk \
|
|
41bnk
|
|
|
|
IMGFILES = $(foreach ver,$(VERSIONS),bp$(ver).img)
|
|
DISTFILES = *.zex *.rel myterm.z3t
|
|
|
|
OTHERS = zcpr33.rel bp*.prn bp*.rel \
|
|
bpbio-ww.rel bpsys.dat bpsys.bak bpbio-ww.err def-ww.lib bp*.img
|
|
|
|
TOOLS = ../../Tools
|
|
|
|
SUBDIRS = ZCPR33 UTIL
|
|
include $(TOOLS)/Makefile.inc
|
|
|
|
zcpr33.rel:
|
|
(cd ZCPR33 ; make)
|
|
|
|
all:: $(IMGFILES)
|
|
|
|
# clean::
|
|
# $(MAKE) --directory ZCPR3 clean
|
|
|
|
%.img: zcpr33.rel
|
|
$(eval VER := $(subst .img,,$(subst bp,,$@)))
|
|
cp def-ww-z$(VER).lib def-ww.lib
|
|
rm -f bpbio-ww.rel
|
|
$(ZXCC) ZMAC -BPBIO-WW -/P
|
|
mv bpbio-ww.prn bp$(VER).prn
|
|
if [ -f bpbio-ww.err ] ; then mv bpbio-ww.err bp$(VER).err; fi
|
|
mv bpbio-ww.rel bp$(VER).rel
|
|
cp bp$(VER).dat bpsys.dat
|
|
$(ZXCC) ./bpbuild.com -bpsys.dat 0 < bpbld1.rsp
|
|
cp bpsys.img bpsys.dat
|
|
$(ZXCC) ./bpbuild.com -bpsys.dat 0 < bpbld2.rsp
|
|
mv bpsys.img bp$(VER).img
|
|
|