Mercurial > hg > Members > kono > nitros9-code
diff level1/coco/defs/makefile @ 2035:12ad1d266df9
coco port
author | boisy |
---|---|
date | Sat, 22 Apr 2006 19:02:41 +0000 |
parents | |
children | 2e37b5a0d4b3 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/level1/coco/defs/makefile Sat Apr 22 19:02:41 2006 +0000 @@ -0,0 +1,34 @@ +include $(NITROS9DIR)/rules.mak + +DEPENDS = ./makefile + +DEFOPTS = -ls -x -z -aLevel=1 +DEFSDIR = ../../../defs +DEFS = Defsfile OS9Defs RBFDefs SCFDefs SysType VTIODefs +ALLOBJS = $(DEFS) + +all: $(ALLOBJS) + +Defsfile: defsfile.asm + $(AS) $(DEFOPTS) -p $< > $@ + +OS9Defs: $(DEFSDIR)/os9defs + $(AS) $(DEFOPTS) -aOS9DEFS=0 $< > $@ + +RBFDefs: $(DEFSDIR)/rbfdefs + $(AS) $(DEFOPTS) -aRBFDEFS=0 $< > $@ + +SCFDefs: $(DEFSDIR)/scfdefs + $(AS) $(DEFOPTS) -aSCFDEFS=0 $< > $@ + +SysType: $(DEFSDIR)/systype + $(AS) $(DEFOPTS) -aSYSTYPE=0 $< > $@ + +VTIODefs: $(DEFSDIR)/vtiodefs + $(AS) $(DEFOPTS) -aVTIODEFS=0 $< > $@ + +clean: + $(RM) $(DEFS) + +showobjs: + @$(ECHO) $(ALLOBJS)