Mercurial > hg > Members > kono > nitros9-code
annotate level1/coco/cmds/makefile @ 2668:07441dfebc27 lwtools-port
Make tocgen build with lwasm
lwasm does not treat a trailing colon as part of the symbol name. Removed
trailing colons on symbol references.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sun, 10 Jun 2012 13:35:44 -0600 |
parents | 09feb97c181f |
children | 53c42701f680 |
rev | line source |
---|---|
2037 | 1 PORT = coco |
2034 | 2 include $(NITROS9DIR)/rules.mak |
3 | |
2475 | 4 vpath %.a $(LEVEL1)/cmds |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2049
diff
changeset
|
5 vpath %.asm $(LEVEL1)/cmds:$(NITROS9DIR)/3rdparty/packages/basic09 |
2034 | 6 |
7 DEPENDS = ./makefile | |
8 | |
2664
09feb97c181f
Initial changes to use lwasm instead of mamou
William Astle <lost@l-w.ca>
parents:
2483
diff
changeset
|
9 AFLAGS += --includedir=$(NITROS9DIR)/3rdparty/packages/basic09 |
2475 | 10 LFLAGS += -l=$(NITROS9DIR)/lib/net.l -l=$(NITROS9DIR)/lib/alib.l -l=$(NITROS9DIR)/lib/sys6809l1.l |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2049
diff
changeset
|
11 |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2049
diff
changeset
|
12 BASIC09FILES = basic09.asm runb.asm gfx.asm inkey.asm syscall.asm |
2186 | 13 CMDS = asm attr backup binex build calldbg cmp cobbler copy cputype \ |
2034 | 14 date dcheck debug ded deiniz del deldir devs dir dirsort disasm \ |
15 display dmode dsave dump echo edit error exbin format \ | |
16 free grfdrv help ident iniz irqs link list load login makdir \ | |
17 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
|
18 rename save setime shellplus shell_21 sleep \ |
2243
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
19 tee tmode touch tsmon tuneport unlink verify xmode |
2034 | 20 |
2159 | 21 CMDS_D2 = basic09 runb gfx inkey syscall copy del echo format \ |
22 merge os9gen prompt tmode | |
2034 | 23 |
2475 | 24 CMDS_DW = inetd telnet dw |
25 | |
2034 | 26 SUBS = gfx inkey syscall |
2243
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
27 ALLOBJS = $(CMDS) $(CMDS_D2) $(CMDS_DW) $(SUBS) |
2034 | 28 |
29 all: $(ALLOBJS) | |
30 | |
31 pwd: pd.asm | |
32 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1 | |
33 | |
34 xmode: xmode.asm | |
35 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aXMODE=1 | |
36 | |
37 tmode: xmode.asm | |
38 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aTMODE=1 | |
39 | |
40 pxd: pd.asm | |
41 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPXD=1 | |
42 | |
43 clean: | |
44 $(RM) $(ALLOBJS) | |
45 | |
46 identify: | |
47 $(IDENT_SHORT) $(ALLOBJS) | |
48 | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2049
diff
changeset
|
49 showobjs: |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2049
diff
changeset
|
50 @$(ECHO) $(CMDS) |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2049
diff
changeset
|
51 |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2049
diff
changeset
|
52 showobjs_d2: |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2049
diff
changeset
|
53 @$(ECHO) $(CMDS_D2) |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2049
diff
changeset
|
54 |
2483 | 55 showobjs_dw: |
56 @$(ECHO) $(CMDS) $(CMDS_DW) | |
57 | |
2034 | 58 showallobjs: |
59 @$(ECHO) $(ALLOBJS) |