Mercurial > hg > Members > kono > nitros9-code
view level2/defs/makefile @ 3267:024ad1d926fd
Get gfx2 to build from cmds folders
Now that gfx2.asm needs to include coco3vtio.d the latter needs to be
built first and be accessed from the port-specific defs folder.
OTOH the one built in 3rd-party/packages/basic09 is built only later
during a full build.
(All the different defs folders and .d files still puzzle me.)
Also updated coco3fpga/defs/makefile to be based on the coco3 one.
The mc09l2 port doesn't need gfx and gfx2.
Note for later:
This whole build of basic09 components from the 3rdparty folder
during the ports builds is not very nice. At a minimum we should
try to limit the extra --includedir to the few commands needing it.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Wed, 17 Jul 2019 01:14:55 +0200 |
parents | b8c7b7fbf3c9 |
children |
line wrap: on
line source
PORT = coco3 include $(NITROS9DIR)/rules.mak DEPENDS = ./makefile DEFOPTS = -ls -x -z -aLevel=2 PERMDEFS = Defsfile DEFS = os9.d rbf.d scf.d coco.d coco3vtio.d ALLOBJS = $(DEFS) $(PERMDEFS) all: $(ALLOBJS) os9.d: $(DEFSDIR)/os9.d $(AS) $(AFLAGS) $(DEFOPTS) -aOS9.D=0 $< > $@ rbf.d: $(DEFSDIR)/rbf.d $(AS) $(AFLAGS) $(DEFOPTS) -aRBF.D=0 $< > $@ scf.d: $(DEFSDIR)/scf.d $(AS) $(AFLAGS) $(DEFOPTS) -aSCF.D=0 $< > $@ coco.d: $(DEFSDIR)/coco.d $(AS) $(AFLAGS) $(DEFOPTS) -aCOCO.D=0 $< > $@ coco3vtio.d: $(DEFSDIR)/cocovtio.d $(AS) $(AFLAGS) $(DEFOPTS) -aCOCOVTIO.D=0 $< > $@ clean: $(RM) $(DEFS) showobjs: @$(ECHO) $(ALLOBJS)