Mercurial > hg > Members > kono > nitros9-code
view 3rdparty/packages/basic09/makefile @ 2054:2da2577ac7b7
Updated for new structure
author | boisy |
---|---|
date | Sun, 23 Apr 2006 19:43:13 +0000 |
parents | 174d263c0995 |
children | d096a278e068 |
line wrap: on
line source
include $(NITROS9DIR)/rules.mak 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: banner $(ALLOBJS) $(DEPENDS) banner: @$(ECHO) "**************************************************" @$(ECHO) "* *" @$(ECHO) "* Basic09 *" @$(ECHO) "* *" @$(ECHO) "**************************************************" 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 $(foreach file, $(ALLOBJS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);) $(CPL) $(TXTFILES) $(DISK),. $(foreach file, $(TXTFILES), $(OS9ATTR_TEXT) $(DISK),$(file);) dskclean: -$(RM) $(DISK)