view 3rdparty/p2mods/noice/makefile @ 2951:63fb45a6007b

coyota: Rename assembler files to .as
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 09 Feb 2014 21:06:29 +0100
parents 1addfd8c9d5f
children
line wrap: on
line source

include $(NITROS9DIR)/rules.mak

AFLAGS		+= #-ASWI

MD              = $(6809L1)/modules
CMD             = $(6809L1)/cmds
BD              = ../../booters


all:	calldbg krnp3_6309 krnp3_6809 krnp3_6309_mpi krnp3_6809_mpi noice noice_mpi

# calldbg works for both Level 1 and Level 2
calldbg: calldbg.asm
	$(AS) $(ASOUT)$@ $< -aLevel=1 $(AFLAGS)

krnp3_6309: noice.asm
	$(AS) $(ASOUT)$@ $< -aLevel=2 -aH6309 -e $(AFLAGS)

krnp3_6309_mpi: noice.asm
	$(AS) $(ASOUT)$@ $< -aLevel=2 -aH6309 -e $(AFLAGS) -aMPI=1

krnp3_6809: noice.asm
	$(AS) $(ASOUT)$@ $< -aLevel=2 $(AFLAGS)

krnp3_6809_mpi: noice.asm
	$(AS) $(ASOUT)$@ $< -aLevel=2 $(AFLAGS) -aMPI=1

noice: noice.asm
	$(AS) $(ASOUT)$@ $< -aLevel=1 $(AFLAGS)

noice_mpi: noice.asm
	$(AS) $(ASOUT)$@ $< -aLevel=1 $(AFLAGS) -aMPI=1

clean:
	$(RM) calldbg krnp3_6309 krnp3_6809 krnp3_6309_mpi krnp3_6809_mpi noice noice_mpi