Mercurial > hg > Members > kono > nitros9-code
view level2/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 | 0c5b16b0b65d |
children |
line wrap: on
line source
include $(NITROS9DIR)/rules.mak dirs = coco3 coco3_6309 mc09l2 coco3fpga ifdef PORTS dirs = $(PORTS) endif # Make all components all: @$(ECHO) "**************************************************" @$(ECHO) "* *" @$(ECHO) "* NitrOS-9 Level 2 Ports *" @$(ECHO) "* *" @$(ECHO) "**************************************************" $(foreach dir,$(dirs),$(MAKE) -C $(dir) &&) : # Clean all components clean: $(foreach dir,$(dirs),$(MAKE) -C $(dir) clean &&) : # Make DSK images dsk: $(foreach dir,$(dirs),$(MAKE) -C $(dir) dsk &&) : # Copy DSK images dskcopy: $(foreach dir,$(dirs),$(MAKE) -C $(dir) dskcopy &&) : # Clean DSK images dskclean: $(foreach dir,$(dirs),$(MAKE) -C $(dir) dskclean &&) : # Info info: @$(foreach dir,$(dirs),$(MAKE) -C $(dir) info; $(ECHO);)