Browse Source

clean make?!

patch
curt mayer 6 years ago
parent
commit
c205e1b314
  1. 1
      Binary/.gitignore
  2. 2
      Source/BPBIOS/Makefile
  3. 5
      Source/BPBIOS/NZFCP13/Makefile
  4. 5
      Source/BPBIOS/Z34RCP11/Makefile
  5. 14
      Source/CPM3/Makefile
  6. 4
      Source/HBIOS/Makefile
  7. 3
      Source/ZPM3/Makefile

1
Binary/.gitignore

@ -1,3 +1,4 @@
*.bin
*.eeprom
*.img
*.rom

2
Source/BPBIOS/Makefile

@ -14,7 +14,7 @@ OTHERS = zcpr33n.rel zcpr33t.rel \
TOOLS = ../../Tools
SUBDIRS = ZCPR33
SUBDIRS = ZCPR33 NZFCP13 Z34RCP11
include $(TOOLS)/Makefile.inc
$(HD0IMG): $(IMGFILES)

5
Source/BPBIOS/NZFCP13/Makefile

@ -0,0 +1,5 @@
OBJECTS = nzfcp13.rel
OTHERS =
TOOLS = ../../../Tools
include $(TOOLS)/Makefile.inc

5
Source/BPBIOS/Z34RCP11/Makefile

@ -0,0 +1,5 @@
OBJECTS = z34rcp11.rel
TOOLS = ../../../Tools
DEST =
include $(TOOLS)/Makefile.inc

14
Source/CPM3/Makefile

@ -4,7 +4,7 @@
#
# it does this by overriding OBJECTS in an invoked sub-make
#
OBJECTS = cpmldr.com cpm3res cpm3bnk zpmbios3
OBJECTS = cpmldr.com cpm3res cpm3bnk zpmbios3 cpm3.sys gencpm.dat
OTHERS = cpmldr.rel biosldr.rel cpm3res.sys cpm3bnk.sys zpmbios3.spr
TOOLS = ../../Tools
@ -17,6 +17,9 @@ NULL :=
SPACE := $(NULL) $(NULL)
BIOSNAMES := $(subst $(SPACE),$(COMMA),$(basename $(BIOSOBJS)))
DEFCPM3 = bnk
#DEFCPM3 = res
clean:: biosclean
rm -f bios3.spr bnkbios3.spr zpmbios3.spr cpmldr.com gencpm.dat options.lib
@ -30,6 +33,7 @@ cpm3res:
make OBJECTS=bios3.spr
$(ZXCC) gencpm -auto -display
mv cpm3.sys cpm3res.sys
rm gencpm.dat
cpm3bnk:
make biosclean
@ -38,12 +42,14 @@ cpm3bnk:
make OBJECTS=bnkbios3.spr
$(ZXCC) gencpm -auto -display
mv cpm3.sys cpm3bnk.sys
rm gencpm.dat
zpmbios3:
make biosclean
cp optzpm.lib options.lib
cp genbnk.dat gencpm.dat
make OBJECTS=zpmbios3.spr
rm gencpm.dat
bios3.spr: $(BIOSOBJS)
$(ZXCC) $(CPM)/LINK -bios3[OS]=$(BIOSNAMES)
@ -58,3 +64,9 @@ cpmldr.com: cpmldr.rel biosldr.rel
$(ZXCC) $(TOOLS)/cpm/bin/LINK -cpmldr[L100]=cpmldr,biosldr
rm -f cpmldr.sym
cpm3.sys: cpm3$(DEFCPM3).sys
cp cpm3$(DEFCPM3).sys cpm3.sys
gencpm.dat: gen$(DEFCPM3).dat
cp gen$(DEFCPM3).dat gencpm.dat

4
Source/HBIOS/Makefile

@ -1,10 +1,10 @@
OBJECTS = platform
OBJECTS = ZETA2_std.rom
SUBDIRS =
DEST = ../../Binary/Apps
TOOLS =../../Tools
OTHERS = *.bin *.z80 cpm.sys zsys.sys Build.inc
include $(TOOLS)/Makefile.inc
platform:
ZETA2_std.rom:
bash Build.sh ZETA2 std 512

3
Source/ZPM3/Makefile

@ -23,6 +23,9 @@ gencpm.com: ../CPM3/gencpm.com
biosldr.rel: ../CPM3/biosldr.rel
cp $< $@
cpmldr.com: ../CPM3/cpmldr.com
cp $< $@
zccp.com: ../ZCCP/ccp.com
cp $< $@

Loading…
Cancel
Save