comparison level1/mc09/cmds/makefile @ 3116:174eb9eda7b1

New port "mc09" for Multicomp09, an FPGA-based 6809 machine Include new commands/descriptor for mc09 clock and SD controller
author Neal Crook <foofoobedoo@gmail.com>
date Sat, 17 Oct 2015 21:21:11 +0100
parents
children ef66bdab9b45
comparison
equal deleted inserted replaced
3115:460fdd304adf 3116:174eb9eda7b1
1 include ../port.mak
2
3 vpath %.as $(LEVEL1)/cmds
4 vpath %.asm $(LEVEL1)/cmds:$(3RDPARTY)/packages/basic09
5
6 DEPENDS = ./makefile
7
8 AFLAGS += --includedir=$(3RDPARTY)/packages/basic09
9 LFLAGS += -L $(NITROS9DIR)/lib -lnet -lmc09 -lalib
10
11 BASIC09FILES = basic09.asm runb.asm gfx.asm inkey.asm syscall.asm
12 CMDS = asm attr backup binex build calldbg cmp cobbler copy cputype \
13 date dcheck debug ded deiniz del deldir devs dir dirsort disasm \
14 display dmode dsave dump echo edit error exbin format \
15 free grfdrv help ident iniz irqs link list load login makdir \
16 megaread mdir merge mfree minted mpi os9gen padrom park printerr procs prompt pwd pxd \
17 rename save setime shellplus shell_21 sleep \
18 tee tmode touch tsmon tuneport unlink verify xmode
19
20 CMDS_D2 = basic09 runb gfx inkey syscall copy del echo format \
21 merge os9gen prompt tmode
22
23 CMDS_DW = inetd telnet dw httpd
24
25 SUBS = gfx inkey syscall
26 ALLOBJS = $(CMDS) $(CMDS_D2) $(CMDS_DW) $(SUBS)
27
28 all: $(ALLOBJS)
29
30 pwd: pd.asm
31 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPWD=1
32
33 xmode: xmode.asm
34 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DXMODE=1
35
36 tmode: xmode.asm
37 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DTMODE=1
38
39 pxd: pd.asm
40 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPXD=1
41
42 clean:
43 $(RM) $(ALLOBJS)
44
45 identify:
46 $(IDENT_SHORT) $(ALLOBJS)
47
48 showobjs:
49 @$(ECHO) $(CMDS)
50
51 showobjs_d2:
52 @$(ECHO) $(CMDS_D2)
53
54 showobjs_dw:
55 @$(ECHO) $(sort $(CMDS) $(CMDS_DW))
56
57 showallobjs:
58 @$(ECHO) $(ALLOBJS)