annotate level1/coco/cmds/makefile @ 2105:d5824ed9c767

Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
author boisy
date Fri, 29 Sep 2006 16:16:25 +0000
parents 0cf8513d33d7
children fff5c57bbc77
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2037
2e37b5a0d4b3 set PORT var
boisy
parents: 2034
diff changeset
1 PORT = coco
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
2 include $(NITROS9DIR)/rules.mak
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
3
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2049
diff changeset
4 vpath %.asm $(LEVEL1)/cmds:$(NITROS9DIR)/3rdparty/packages/basic09
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
5
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
6 DEPENDS = ./makefile
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
7
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2049
diff changeset
8 AFLAGS += -i=$(NITROS9DIR)/3rdparty/packages/basic09
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2049
diff changeset
9
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2049
diff changeset
10 BASIC09FILES = basic09.asm runb.asm gfx.asm inkey.asm syscall.asm
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
11 CMDS = asm attr backup binex build cmp cobbler copy cputype \
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
12 date dcheck debug ded deiniz del deldir devs dir dirsort disasm \
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
13 display dmode dsave dump echo edit error exbin format \
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
14 free grfdrv help ident iniz irqs link list load login makdir \
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
15 megaread mdir merge mfree mpi os9gen padrom park printerr procs prompt pwd pxd \
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2049
diff changeset
16 rename save setime shellplus shell_21 sleep \
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
17 tee tmode touch tsmon tuneport unlink verify xmode
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
18
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2049
diff changeset
19 CMDS_D2 = basic09 runb gfx gfx2 inkey syscall
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
20
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
21 SUBS = gfx inkey syscall
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2049
diff changeset
22 ALLOBJS = $(CMDS) $(CMDS_D2) $(SUBS)
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
23
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
24 all: $(ALLOBJS)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
25
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
26 pwd: pd.asm
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
27 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
28
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
29 xmode: xmode.asm
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
30 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aXMODE=1
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
31
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
32 tmode: xmode.asm
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
33 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aTMODE=1
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
34
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
35 pxd: pd.asm
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
36 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPXD=1
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
37
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
38 clean:
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
39 $(RM) $(ALLOBJS)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
40
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
41 identify:
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
42 $(IDENT_SHORT) $(ALLOBJS)
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
43
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2049
diff changeset
44 showobjs:
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2049
diff changeset
45 @$(ECHO) $(CMDS)
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2049
diff changeset
46
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2049
diff changeset
47 showobjs_d2:
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2049
diff changeset
48 @$(ECHO) $(CMDS_D2)
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2049
diff changeset
49
2034
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
50 showallobjs:
817fd1563b56 Addition of coco port
boisy
parents:
diff changeset
51 @$(ECHO) $(ALLOBJS)