view 3rdparty/p2mods/noice/makefile @ 2890:1addfd8c9d5f

Revert e4a0f58a5f9b (set NITROS9DIR in makefiles) This was not done in lwtools-port and makes it more difficult to compare the trees. Therefore revert it for now. I will reapply or do it in another way later.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 24 Nov 2013 23:13:46 +0100
parents e4a0f58a5f9b
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