view 3rdparty/packages/basic09/makefile @ 989:979b7f290efc

First pass disassembly and comments. Comments from 1992 disasm included. Requires Level 2 defs set Level equ 2 in this file should be in a defsfile.
author pwz
date Fri, 21 Feb 2003 04:34:39 +0000
parents ea69ed12af12
children c2b85c18a13a
line wrap: on
line source

include ../../../Makefile.rules

DISK	= basic09v010100.dsk

# NitrOS-9
H6309		= $(AFLAGS) -aH6309=1 -e
# Non-NitrOS-9
M6809		= $(AFLAGS)

DEPENDS		= ./Makefile

TXTFILES	= ReadMe install6809 install6309
OBJS		= gfx gfx2 inkey syscall
OBJS6809	= basic09_6809 runb_6809
OBJS6309	= basic09_6309 runb_6309
ALLOBJS		= $(OBJS) $(OBJS6809) $(OBJS6309)

all:	$(ALLOBJS) $(DEPENDS)
	$(CHMOD) 755 $(ALLOBJS)

basic09_6309: basic09.asm
	$(AS) $(ASOUT)$@ $< $(H6309)

basic09_6809: basic09.asm
	$(AS) $(ASOUT)$@ $< $(M6809)

runb_6309: runb.asm
	$(AS) $(ASOUT)$@ $< $(H6309)

runb_6809: runb.asm
	$(AS) $(ASOUT)$@ $< $(M6809)

runbt_6809: basic09.asm
	$(AS) $(ASOUT)$@ $< $(M6809) -aRUNTIME=1

clean: dskclean
	$(RM) $(ALLOBJS)

dsk:	all
	$(RM) $(DISK)
	$(OS9FORMAT_SS35) $(DISK) -n"Basic09"
	$(MAKDIR) $(DISK),CMDS
	$(CP) $(ALLOBJS) $(DISK),CMDS
	$(CPL) $(TXTFILES) $(DISK),.

dskclean:
	-$(RM) $(DISK)