view rules.mak @ 223:83f276e054a4

Fixed mistake putting shell_21.asm in wrong place
author boisy
date Tue, 16 Jul 2002 01:06:08 +0000
parents 123c67412efc
children d5c4d7584bb6
line wrap: on
line source

# Rules for making OS-9/6X09 modules

# If we're using the OS-9 emulator and the *real* OS-9 assembler,
# uncomment the following two lines.
#AS		= os9 /mnt2/src/ocem/os9/asm
#ASOUT		= o=

# Use the cross assembler
AS		= os9asm
ASOUT		= -o=
AFLAGS		= -q

# Commands
RM		= rm
MERGE		= cat
PADROM		= os9padrom
ECHO		= echo
CHMOD		= chmod
IDENT		= os9ident
IDENT_SHORT	= os9ident -s
UNIX2OS9	= u2o
OS92UNIX	= o2u

# File managers
%.mn: %.asm
	$(AS) $(AFLAGS) $< $(ASOUT)$@

# Device drivers
%.dr: %.asm
	$(AS) $(AFLAGS) $< $(ASOUT)$@

# Device descriptors
%.dd: %.asm
	$(AS) $(AFLAGS) $< $(ASOUT)$@

# Window device descriptors
%.dw: %.asm
	$(AS) $(AFLAGS) $< $(ASOUT)$@

# Terminal device descriptors
%.dt: %.asm
	$(AS) $(AFLAGS) $< $(ASOUT)$@

# I/O subroutines
%.io: %.asm
	$(AS) $(AFLAGS) $< $(ASOUT)$@

# 60Hz clocks
%.60hz: %.asm
	$(AS) -aTPS=60 $(AFLAGS) $< $(ASOUT)$@

# 50Hz clocks
%.50hz: %.asm
	$(AS) -aTPS=50 $(AFLAGS) $< $(ASOUT)$@

# All other modules
%: %.asm
	$(AS) $(AFLAGS) $< $(ASOUT)$@