view level1/cmds/makefile @ 689:92b575ffa143

Folded pxd.asm and pwd.asm into pd.asm for simplicity since almost all code was common, modified Makefile
author boisy
date Mon, 30 Dec 2002 03:36:33 +0000
parents c7dda4211c00
children cb66ee3d17b2
line wrap: on
line source

include ../../Makefile.rules

DEPENDS		= ./Makefile

BASIC09FILES	= runb.asm gfx.asm inkey.asm syscall.asm
COCOCMDS	= asm attr backup binex build cmp cobbler config copy date \
		dcheck debug deiniz del deldir dir display dsave dump \
		echo edit error exbin format free grfo help ident iniz link \
		list load login makdir mdir merge mfree \
		os9gen park printerr procs pwd pxd \
		rename runb save setime shell sleep tee tmode tsmon \
		tuneport unlink verify xmode gfx inkey syscall
DRAGONCMDS	= cobbler_d64 format_d64 os9gen_d64 drvr51.dr go51
ALLOBJS		= $(COCOCMDS) $(DRAGONCMDS)

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

pwd:	pd.asm
	$(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1

pxd:	pd.asm
	$(AS) $(AFLAGS) $< $(ASOUT)$@ -aPXD=1

clean:
	$(RM) $(ALLOBJS) $(BASIC09FILES)

identify:
	$(IDENT_SHORT) $(ALLOBJS)

showallobjs:
	@$(ECHO) $(ALLOBJS)

showcocoobjs:
	@$(ECHO) $(COCOCMDS)

showdragonobjs:
	@$(ECHO) $(CMDS) $(DRAGONCMDS)

$(BASIC09FILES): $(BASEDIR)/3rdparty/packages/basic09/$@
	-$(SOFTLINK) $(BASEDIR)/3rdparty/packages/basic09/$@