Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/basic09/makefile @ 668:707d46fced97
Added gfx2
author | boisy |
---|---|
date | Thu, 26 Dec 2002 22:56:21 +0000 |
parents | 0e6a4a6486a0 |
children | 0ef2294df11f |
rev | line source |
---|---|
477 | 1 include ../../../Makefile.rules |
2 | |
524 | 3 DISK = basic09v010100.dsk |
493 | 4 |
477 | 5 # NitrOS-9 |
489
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
6 H6309 = $(AFLAGS) -aH6309=1 |
477 | 7 # Non-NitrOS-9 |
489
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
8 M6809 = $(AFLAGS) |
477 | 9 |
10 DEPENDS = ./Makefile | |
493 | 11 |
12 TXTFILES = ReadMe install6809 install6309 | |
668 | 13 OBJS = gfx gfx2 inkey syscall |
659
0e6a4a6486a0
I've learned now that syscall does NOT change for either 6809 or 6309
boisy
parents:
558
diff
changeset
|
14 OBJS6809 = basic09_6809 runb_6809 |
0e6a4a6486a0
I've learned now that syscall does NOT change for either 6809 or 6309
boisy
parents:
558
diff
changeset
|
15 OBJS6309 = basic09_6309 runb_6309 |
493 | 16 ALLOBJS = $(OBJS) $(OBJS6809) $(OBJS6309) |
477 | 17 |
18 all: $(ALLOBJS) $(DEPENDS) | |
493 | 19 $(UNIX2OS9) $(TXTFILES) |
494
c13f2b782baa
Added chmod for commands, install scripts now echo output
boisy
parents:
493
diff
changeset
|
20 $(CHMOD) 755 $(ALLOBJS) |
477 | 21 |
22 basic09_6309: basic09.asm | |
489
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
23 $(AS) $(ASOUT)$@ $< $(H6309) |
477 | 24 |
25 basic09_6809: basic09.asm | |
489
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
26 $(AS) $(ASOUT)$@ $< $(M6809) |
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
27 |
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
28 runb_6309: runb.asm |
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
29 $(AS) $(ASOUT)$@ $< $(H6309) |
477 | 30 |
489
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
31 runb_6809: runb.asm |
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
32 $(AS) $(ASOUT)$@ $< $(M6809) |
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
33 |
668 | 34 runbt_6809: basic09.asm |
35 $(AS) $(ASOUT)$@ $< $(M6809) -aRUNTIME=1 | |
36 | |
493 | 37 clean: dskclean |
477 | 38 $(RM) $(ALLOBJS) |
493 | 39 $(OS92UNIX) $(TXTFILES) |
477 | 40 |
493 | 41 dsk: all |
42 $(RM) $(DISK) | |
43 $(OS9FORMAT) $(DISK) -n"Basic09" | |
558 | 44 $(MAKDIR) $(DISK),CMDS |
45 $(CP) $(ALLOBJS) $(DISK),CMDS | |
46 $(CP) $(TXTFILES) $(DISK),. | |
493 | 47 |
48 dskclean: | |
49 -$(RM) $(DISK) |