Mercurial > hg > Members > kono > nitros9-code
view level1/coco1/cmds/makefile @ 3293:aa5c87cbbd32
level1 makefiles: Separate basic09 module lists
The BASIC09FILES define was no more in use, however, separating out
the basic09 modules (originally from 3rdparty) makes sense. The
separate SUBS define was less obvious.
The resulting disk images have been tested to be the same, except
for d64 and dalpha images where they got more consistent.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Thu, 23 Sep 2021 23:23:35 +0200 |
parents | 66963ae41cb6 |
children |
line wrap: on
line source
include ../port.mak vpath %.as $(LEVEL1)/cmds vpath %.asm $(LEVEL1)/cmds:$(3RDPARTY)/packages/basic09 DEPENDS = ./makefile AFLAGS += --includedir=$(3RDPARTY)/packages/basic09 LFLAGS += -L $(NITROS9DIR)/lib -lnet -lcoco -lalib CMDS = asm attr backup binex build calldbg cmp cobbler copy cputype \ date dcheck debug ded deiniz del deldir devs dir dirsort disasm \ display dmode dsave dump echo edit error exbin format \ free grfdrv help ident iniz irqs link list load login makdir \ megaread mdir merge mfree minted mpi os9gen padrom park printerr procs prompt pwd pxd \ rename save setime shellplus shell_21 sleep \ tee tmode touch tsmon tuneport unlink verify xmode CMDS_D2 = copy del echo format merge os9gen prompt tmode CMDS_DW = inetd telnet dw httpd BASIC09 = basic09 runb gfx inkey syscall ALLOBJS = $(CMDS) $(CMDS_D2) $(CMDS_DW) $(BASIC09) all: $(ALLOBJS) pwd: pd.asm $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPWD=1 xmode: xmode.asm $(AS) $(AFLAGS) $< $(ASOUT)$@ -DXMODE=1 tmode: xmode.asm $(AS) $(AFLAGS) $< $(ASOUT)$@ -DTMODE=1 pxd: pd.asm $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPXD=1 clean: $(RM) $(ALLOBJS) identify: $(IDENT_SHORT) $(ALLOBJS) showobjs: @$(ECHO) $(CMDS) showobjs_d2: @$(ECHO) $(CMDS_D2) $(BASIC09) showobjs_dw: @$(ECHO) $(CMDS) $(CMDS_DW) showallobjs: @$(ECHO) $(ALLOBJS)